From: Zac Medico Date: Fri, 27 Aug 2010 16:20:26 +0000 (-0700) Subject: Fix broken reference to config.pmaskdict for repoman --without-mask. X-Git-Tag: v2.2_rc70~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75fd8c33b5401e25105a7fb4248b478504012f90;p=portage.git Fix broken reference to config.pmaskdict for repoman --without-mask. --- diff --git a/bin/repoman b/bin/repoman index 0f8d8376b..ddac87834 100755 --- a/bin/repoman +++ b/bin/repoman @@ -10,6 +10,7 @@ from __future__ import print_function import calendar import codecs +import copy import errno import formatter import logging @@ -1815,7 +1816,9 @@ for x in scanlist: local_config=False, env=env) if options.without_mask: - dep_settings.pmaskdict.clear() + dep_settings._mask_manager = \ + copy.deepcopy(dep_settings._mask_manager) + dep_settings._mask_manager._pmaskdict.clear() arch_caches[prof.sub_path] = dep_settings xmatch_cache_key = (prof.sub_path, tuple(groups))