aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-07-21 20:04:08 +0000
committerBrian Harring <ferringb@gentoo.org>2005-07-21 20:04:08 +0000
commitd5a62e8bd0b39dd10e884276756cf08ebb6a5735 (patch)
treef6e78a5a188f69549425d19620c0a487797f327c
parentupdated horked with what still is needed to get to equivalent functionality, ... (diff)
downloadportage-cvs-d5a62e8bd0b39dd10e884276756cf08ebb6a5735.tar.gz
portage-cvs-d5a62e8bd0b39dd10e884276756cf08ebb6a5735.tar.bz2
portage-cvs-d5a62e8bd0b39dd10e884276756cf08ebb6a5735.zip
typo.
-rw-r--r--portage/restrictions/restrictionSet.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/portage/restrictions/restrictionSet.py b/portage/restrictions/restrictionSet.py
index 4b4abb2..d204618 100644
--- a/portage/restrictions/restrictionSet.py
+++ b/portage/restrictions/restrictionSet.py
@@ -1,14 +1,19 @@
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/portage/restrictions/Attic/restrictionSet.py,v 1.4 2005/07/21 19:50:17 ferringb Exp $
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/portage/restrictions/Attic/restrictionSet.py,v 1.5 2005/07/21 20:04:08 ferringb Exp $
import restriction
class RestrictionSet(restriction.base):
__slots__ = tuple(["restrictions"] + restriction.base.__slots__)
- def __init__(self, *restrictions, finalize=False, **kwds):
+ def __init__(self, *restrictions, **kwds):
+ if "finalize" in kwds:
+ finalize = kdws["finalize"]
+ del kwds["finalize"]
+ else:
+ finalize = False
super(RestrictionSet, self).__init__(**kwds)
for x in restrictions:
if not isinstance(x, restriction.base):