[aur] caching the package categories to the disk

This commit is contained in:
Vinicius Moreira
2019-10-22 17:24:39 -03:00
parent 64e4822b2d
commit 5df45627ee
4 changed files with 8 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ from bauh.api.abstract.model import SoftwarePackage
from bauh.commons import resource
from bauh.gems.arch import ROOT_DIR, ARCH_CACHE_PATH
CACHED_ATTRS = {'command', 'icon_path', 'mirror', 'maintainer', 'desktop_entry'}
CACHED_ATTRS = {'command', 'icon_path', 'mirror', 'maintainer', 'desktop_entry', 'categories'}
class ArchPackage(SoftwarePackage):