summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-11 21:16:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-11 21:16:27 +0000
commitdacad6ae549f17877c2fc838b10d579b8f35ac22 (patch)
treee12fa5d705dc10d34bcab859886d2a8199386927 /src/sbin
parentba3a05e2b8946965b48f0db5f6593f31edaba31b (diff)
downloadbcfg2-dacad6ae549f17877c2fc838b10d579b8f35ac22.tar.gz
bcfg2-dacad6ae549f17877c2fc838b10d579b8f35ac22.tar.bz2
bcfg2-dacad6ae549f17877c2fc838b10d579b8f35ac22.zip
update to new API
(Logical change 1.86) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@413 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rw-r--r--src/sbin/bcfg24
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index a790e94d7..3ab3a2a18 100644
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -97,8 +97,6 @@ if __name__ == '__main__':
# install incorrect aspects of configuration
client.Install()
- # flush pending changes
- client.Commit()
print "--> %s of %s config elements correct"%(client.states.values().count(True), len(client.states.values()))
print "bad:"
@@ -108,7 +106,7 @@ if __name__ == '__main__':
# upload statistics
m = Element("upload-statistics")
- stats = client.GetStats()
+ stats = client.GenerateStats()
m.append(stats)
comm.SendMessage(h, tostring(stats))