RepoConfig: fix bug #485006 v2.2.6
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Sep 2013 14:08:33 +0000 (07:08 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Sep 2013 14:08:33 +0000 (07:08 -0700)
pym/portage/repository/config.py

index b5289d98ef940b012a0967f284656082cffb7d54..bb63b1a55aabefe8501e83f8d09a552b6d1bb9ac 100644 (file)
@@ -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