From 6beb7b8913acd0b0633df786ec1b3da3509c35c8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 28 Jun 2009 21:14:11 +0000 Subject: Fix constructor to avoid TypeError when the "perms" keyword parameter is given. svn path=/main/trunk/; revision=13731 --- pym/portage/cache/metadata_overlay.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') 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) -- cgit v1.2.3-1-g7c22