summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Minestruct.py
diff options
context:
space:
mode:
authorAndrew Brestick <brestick@mcs.anl.gov>2008-06-23 16:18:04 +0000
committerAndrew Brestick <brestick@mcs.anl.gov>2008-06-23 16:18:04 +0000
commitc746bdc6f47d023ff13fae99f218aac0cd54003e (patch)
tree6696729c06427c60e22a0b53a09fa3ea7ed4002d /src/lib/Server/Admin/Minestruct.py
parentf26f2426d1b73b5bfddaef7b1700201876b64151 (diff)
downloadbcfg2-c746bdc6f47d023ff13fae99f218aac0cd54003e.tar.gz
bcfg2-c746bdc6f47d023ff13fae99f218aac0cd54003e.tar.bz2
bcfg2-c746bdc6f47d023ff13fae99f218aac0cd54003e.zip
Resolves clients.xml overwrite issue in #567, fixes configuration issues with certain bcfg2-admin modes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4706 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Admin/Minestruct.py')
-rw-r--r--src/lib/Server/Admin/Minestruct.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Server/Admin/Minestruct.py b/src/lib/Server/Admin/Minestruct.py
index bd251dabf..9e91ff33e 100644
--- a/src/lib/Server/Admin/Minestruct.py
+++ b/src/lib/Server/Admin/Minestruct.py
@@ -4,6 +4,10 @@ class Minestruct(Bcfg2.Server.Admin.Mode):
'''Pull extra entries out of statistics'''
__shorthelp__ = 'bcfg2-admin minestruct <client>'
__longhelp__ = __shorthelp__ + '\n\tExtract extra entry lists from statistics'
+
+ def __init__(self, cfile):
+ Bcfg2.Server.Admin.Mode.__init__(self, cfile)
+
def __call__(self, args):
Bcfg2.Server.Admin.Mode.__call__(self, args)
if len(args) != 1: