From dacad6ae549f17877c2fc838b10d579b8f35ac22 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 11 Oct 2004 21:16:27 +0000 Subject: 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 --- src/sbin/bcfg2 | 4 +--- 1 file changed, 1 insertion(+), 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)) -- cgit v1.2.3-1-g7c22