aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-09-15 07:08:33 -0700
committerZac Medico <zmedico@gentoo.org>2013-09-15 07:08:33 -0700
commit9e1d8136e644281729e278b68e6272ab2954ee6f (patch)
tree5733a055166b94609719cdea3cf183e346d2c98d /pym/portage/repository/config.py
parentemerge-webrsync: fix bug #484950 (diff)
downloadportage-9e1d8136e644281729e278b68e6272ab2954ee6f.tar.gz
portage-9e1d8136e644281729e278b68e6272ab2954ee6f.tar.bz2
portage-9e1d8136e644281729e278b68e6272ab2954ee6f.zip
RepoConfig: fix bug #485006v2.2.6
Diffstat (limited to 'pym/portage/repository/config.py')
-rw-r--r--pym/portage/repository/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index b5289d98e..bb63b1a55 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -182,7 +182,8 @@ class RepoConfig(object):
# The name from repos.conf has to be used here for
# things like emerge-webrsync to work when the repo
# is empty (bug #484950).
- self.name = name
+ if name is not None:
+ self.name = name
if portage._sync_disabled_warnings:
missing = False