Handle user_location in RepoConfig.update().
authorZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 18:38:27 +0000 (11:38 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 18:38:27 +0000 (11:38 -0700)
pym/portage/repository/config.py

index b035da111757fab7a34fd8bce62433a4cfb0126d..60f800fbfc1e01f0215aca31861f338644473c51 100644 (file)
@@ -87,6 +87,8 @@ class RepoConfig(object):
                        self.masters = new_repo.masters
                if new_repo.name is not None:
                        self.name = new_repo.name
+               if new_repo.user_location is not None:
+                       self.user_location = new_repo.user_location
                if new_repo.location is not None:
                        self.location = new_repo.location
                if new_repo.priority is not None: