From 75fd8c33b5401e25105a7fb4248b478504012f90 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Aug 2010 09:20:26 -0700 Subject: [PATCH] Fix broken reference to config.pmaskdict for repoman --without-mask. --- bin/repoman | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)) -- 2.26.2