summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2008-10-11 15:47:58 +0000
committerSol Jerome <solj@ices.utexas.edu>2008-10-11 15:47:58 +0000
commitd6f5ee83a91e2bcb50d3742aa7a3e69126248d31 (patch)
treeb904e5d94ff750884a1769fcd9024909b9bf9541 /src/lib
parenta10148a3a77c8c5e3491c3c873e0463eb60c5848 (diff)
downloadbcfg2-d6f5ee83a91e2bcb50d3742aa7a3e69126248d31.tar.gz
bcfg2-d6f5ee83a91e2bcb50d3742aa7a3e69126248d31.tar.bz2
bcfg2-d6f5ee83a91e2bcb50d3742aa7a3e69126248d31.zip
Fix minestruct mode for bcfg2-admin
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4945 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Minestruct.py2
-rw-r--r--src/lib/Server/Admin/__init__.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Admin/Minestruct.py b/src/lib/Server/Admin/Minestruct.py
index cc2a25533..e86d2bec4 100644
--- a/src/lib/Server/Admin/Minestruct.py
+++ b/src/lib/Server/Admin/Minestruct.py
@@ -17,7 +17,7 @@ class Minestruct(Bcfg2.Server.Admin.StructureMode):
"only build config for groups"))
def __init__(self, configfile):
- Bcfg2.Server.Admin.MetadataCore.__init__(self, configfile,
+ Bcfg2.Server.Admin.StructureMode.__init__(self, configfile,
self.__usage__)
def __call__(self, args):
diff --git a/src/lib/Server/Admin/__init__.py b/src/lib/Server/Admin/__init__.py
index ee06a33d0..52a04a59e 100644
--- a/src/lib/Server/Admin/__init__.py
+++ b/src/lib/Server/Admin/__init__.py
@@ -77,6 +77,6 @@ class MetadataCore(Mode):
class StructureMode(MetadataCore):
allowed = ['Statistics', 'DBStats']
- def __init__(self, configfile):
- MetadataCore.__init__(self, configfile)
+ def __init__(self, configfile, usage):
+ MetadataCore.__init__(self, configfile, usage)
self.statistics = self.bcore.stats