summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
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))