From: Zac Medico Date: Sun, 28 Jun 2009 21:14:11 +0000 (-0000) Subject: Fix constructor to avoid TypeError when the "perms" keyword parameter is given. X-Git-Tag: v2.2_rc34~128 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6beb7b8913acd0b0633df786ec1b3da3509c35c8;p=portage.git Fix constructor to avoid TypeError when the "perms" keyword parameter is given. svn path=/main/trunk/; revision=13731 --- diff --git a/pym/portage/cache/metadata_overlay.py b/pym/portage/cache/metadata_overlay.py index 027693605..84c5a9741 100644 --- a/pym/portage/cache/metadata_overlay.py +++ b/pym/portage/cache/metadata_overlay.py @@ -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)