diff options
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/__init__.py | 8 | ||||
-rw-r--r-- | pym/portage/data.py | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 2b954254a..3e09e9992 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -914,10 +914,6 @@ class config: # backupenv is for calculated incremental variables. self.backupenv = os.environ.copy() - if not local_config: - # Clean up pollution from portage.data so that it doesn't - # interfere with repoman. - self.backupenv.pop("USERLAND", None) def check_var_directory(varname, var): if not os.path.isdir(var): @@ -1160,10 +1156,6 @@ class config: self.configlist.append(os.environ.copy()) self.configdict["env"]=self.configlist[-1] - if not local_config: - # Clean up pollution from portage.data so that it doesn't - # interfere with repoman. - self.configdict["env"].pop("USERLAND", None) # make lookuplist for loading package.* self.lookuplist=self.configlist[:] diff --git a/pym/portage/data.py b/pym/portage/data.py index 3caef1b2c..fbd419b28 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -44,8 +44,6 @@ if not lchown: " exist. Please rebuild python.\n", noiselevel=-1) lchown() -os.environ["USERLAND"]=userland - def portage_group_warning(): warn_prefix = bad("*** WARNING *** ") mylines = [ |