diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2014-10-13 16:33:23 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-10-13 16:33:23 +0200 |
commit | 67197aa3a35048a68205e4c60b19b73d30e8b392 (patch) | |
tree | 9b753630bb30f975c2e63c186e0b8fa1f9c171e8 /src/lib/Bcfg2/Server | |
parent | ea634773e876cc054bdc4920567557462baa61a3 (diff) | |
download | bcfg2-67197aa3a35048a68205e4c60b19b73d30e8b392.tar.gz bcfg2-67197aa3a35048a68205e4c60b19b73d30e8b392.tar.bz2 bcfg2-67197aa3a35048a68205e4c60b19b73d30e8b392.zip |
Packages/Pkgng: fix arguments of __init__
This plugin was developed for 1.3.x and during the transition to master
the changed arguments of Collection.__init__ were missed.
Diffstat (limited to 'src/lib/Bcfg2/Server')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Pkgng.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Pkgng.py b/src/lib/Bcfg2/Server/Plugins/Packages/Pkgng.py index 13f2c84e5..e393cabfe 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Pkgng.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Pkgng.py @@ -21,8 +21,7 @@ class PkgngCollection(Collection): overrides nothing, and defers all operations to :class:`PacSource` """ - def __init__(self, metadata, sources, cachepath, basepath, fam, - debug=False): + def __init__(self, metadata, sources, cachepath, basepath, debug=False): # we define an __init__ that just calls the parent __init__, # so that we can set the docstring on __init__ to something # different from the parent __init__ -- namely, the parent @@ -30,7 +29,7 @@ class PkgngCollection(Collection): # which we use to delineate the actual docs from the # .. autoattribute hacks we have to do to get private # attributes included in sphinx 1.0 """ - Collection.__init__(self, metadata, sources, cachepath, basepath, fam, + Collection.__init__(self, metadata, sources, cachepath, basepath, debug=debug) __init__.__doc__ = Collection.__init__.__doc__.split(".. -----")[0] |