SystemSettings: move live package masking metadata to persistent settings
This commit is contained in:
@@ -207,6 +207,11 @@ class SystemSettings(Singleton):
|
||||
'user_live_mask': 12,
|
||||
},
|
||||
'backed_up': {},
|
||||
# package masking, live
|
||||
'live_packagemasking': {
|
||||
'unmask_matches': set(),
|
||||
'mask_matches': set(),
|
||||
},
|
||||
}
|
||||
|
||||
self.__setup_const()
|
||||
@@ -334,17 +339,6 @@ class SystemSettings(Singleton):
|
||||
for keyword in self.__data['keywords']['universal']:
|
||||
etpConst['keywords'].add(keyword)
|
||||
|
||||
# live package masking / unmasking
|
||||
self.__data.update(
|
||||
{
|
||||
'live_packagemasking': {
|
||||
'unmask_matches': set(),
|
||||
'mask_matches': set(),
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
# plugins support
|
||||
for plugin_id in sorted(self.__plugins):
|
||||
self.__plugins[plugin_id].parse(self)
|
||||
|
||||
Reference in New Issue
Block a user