Fix constructor to avoid TypeError when the "perms" keyword parameter is given.
authorZac Medico <zmedico@gentoo.org>
Sun, 28 Jun 2009 21:14:11 +0000 (21:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 28 Jun 2009 21:14:11 +0000 (21:14 -0000)
svn path=/main/trunk/; revision=13731

pym/portage/cache/metadata_overlay.py

index 027693605967fe7ce7135706b88e14051e20fdcf..84c5a9741ef5c6bea7009636a734567b827b1d5f 100644 (file)
@@ -16,6 +16,7 @@ class database(template.database):
                *args, **config):
                super_config = config.copy()
                super_config.pop("gid", None)
+               super_config.pop("perms", None)
                super(database, self).__init__(location, label, auxdbkeys,
                        *args, **super_config)
                self.db_rw = db_rw(location, label, auxdbkeys, **config)