Fix config._accept_chost_re so it's only an instance variable.
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Jun 2008 04:50:09 +0000 (04:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Jun 2008 04:50:09 +0000 (04:50 -0000)
svn path=/main/trunk/; revision=10656

pym/portage/__init__.py

index 5eccf3a7f5cf0fee807c7c5b83ae30c8257b28b4..b3ee3ff17f71033fbffca2722afe75c237cf2b1b 100644 (file)
@@ -998,7 +998,6 @@ class config(object):
        ]
 
        _environ_filter = frozenset(_environ_filter)
-       _accept_chost_re = None
 
        def __init__(self, clone=None, mycpv=None, config_profile_path=None,
                config_incrementals=None, config_root=None, target_root=None,
@@ -1036,6 +1035,7 @@ class config(object):
                self.puse     = []
                self.modifiedkeys = []
                self.uvlist = []
+               self._accept_chost_re = None
 
                self.virtuals = {}
                self.virts_p = {}