Fix config._accept_chost_re so it's only an instance variable.
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Jun 2008 04:51:12 +0000 (04:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Jun 2008 04:51:12 +0000 (04:51 -0000)
(trunk r10656)

svn path=/main/branches/2.1.2/; revision=10657

pym/portage.py

index 8e1a620c6cfa5f6c7a9608bfc09619c8b36a0e24..fda8a1ec45dd991892f05c99d8242e6f69a26548 100644 (file)
@@ -1159,7 +1159,6 @@ class config:
        ]
 
        _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,
@@ -1197,6 +1196,7 @@ class config:
                self.puse     = []
                self.modifiedkeys = []
                self.uvlist = []
+               self._accept_chost_re = None
 
                self.virtuals = {}
                self.virts_p = {}