[entropy.client.interfaces.db] fix typo in with statement

This commit is contained in:
Fabio Erculiani
2011-10-27 11:49:44 +02:00
parent 1421341d8a
commit b0e69bc2f6
+2 -2
View File
@@ -2035,7 +2035,7 @@ class MaskableRepository(EntropyRepositoryBase):
def _maskFilter_user_package_mask(self, package_id, live):
with self._settings['mask']:
with self._settings:
# thread-safe in here
cache_obj = self._settings['mask'].get()
if cache_obj is None:
@@ -2077,7 +2077,7 @@ class MaskableRepository(EntropyRepositoryBase):
def _maskFilter_user_package_unmask(self, package_id, live):
with self._settings['unmask']:
with self._settings:
# thread-safe in here
cache_obj = self._settings['unmask'].get()
if cache_obj is None: