give info on total number of updates for comparing
authorJeremy Katz <katzj@redhat.com>
Thu, 19 Jul 2007 18:54:00 +0000 (14:54 -0400)
committerJeremy Katz <katzj@redhat.com>
Thu, 19 Jul 2007 18:54:00 +0000 (14:54 -0400)
test/puplet-test.py

index 5864519..e990f19 100644 (file)
@@ -27,9 +27,7 @@ def update_info(*args):
     r = remote_object.GetUpdateInfo(dbus_interface="edu.duke.linux.yum")
     for (new, old) in r:
         print "new: %s; old: %s" %(new, old)
-    print "r: %s" %(r,)
-#    for (new, old) in r:
-#        print new, old
+    print "Total of %d updates" %(len(r),)
 
 def quit(*args):
     sys.exit(0)