summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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