diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-06-28 21:14:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-06-28 21:14:11 +0000 |
commit | 6beb7b8913acd0b0633df786ec1b3da3509c35c8 (patch) | |
tree | a643e994665c71dd1bf2f9ee0523c91bfadf0859 | |
parent | e558186fd558a605a2709601b4360d2f15174de3 (diff) | |
download | portage-6beb7b8913acd0b0633df786ec1b3da3509c35c8.tar.gz portage-6beb7b8913acd0b0633df786ec1b3da3509c35c8.tar.bz2 portage-6beb7b8913acd0b0633df786ec1b3da3509c35c8.zip |
Fix constructor to avoid TypeError when the "perms" keyword parameter is given.
svn path=/main/trunk/; revision=13731
-rw-r--r-- | pym/portage/cache/metadata_overlay.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |