summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-02-09 18:21:51 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-02-09 18:21:51 +0000
commit7dfc041098d5f0efc9b959ddf626728b453a326e (patch)
treeb582c2a73bf8e6b8a8a8a9fb289a5db009b320ae
parent193baaf9d157d70cb62a8fc434fa480393625561 (diff)
downloadbcfg2-7dfc041098d5f0efc9b959ddf626728b453a326e.tar.gz
bcfg2-7dfc041098d5f0efc9b959ddf626728b453a326e.tar.bz2
bcfg2-7dfc041098d5f0efc9b959ddf626728b453a326e.zip
Fix MineStruct (patch from Sol J)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4347 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Admin/Minestruct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Minestruct.py b/src/lib/Server/Admin/Minestruct.py
index 8f8be7e77..bd251dabf 100644
--- a/src/lib/Server/Admin/Minestruct.py
+++ b/src/lib/Server/Admin/Minestruct.py
@@ -8,7 +8,7 @@ class Minestruct(Bcfg2.Server.Admin.Mode):
Bcfg2.Server.Admin.Mode.__call__(self, args)
if len(args) != 1:
self.errExit("minestruct must be called with a client name")
- extra = self.MineStruct(args[1])
+ extra = self.MineStruct(args[0])
self.log.info("Found %d extra entries" % (len(extra)))
self.log.info(["%s: %s" % (entry.tag, entry.get('name')) for entry in extra])