changeset 21:da4848140985

OBO
author Jeff Hammel <k0scist@gmail.com>
date Thu, 16 Jan 2014 13:12:32 -0800
parents 5c5edfb827b7
children 745ea6592724
files silvermirror/unify.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/silvermirror/unify.py	Thu Jan 16 04:29:39 2014 -0800
+++ b/silvermirror/unify.py	Thu Jan 16 13:12:32 2014 -0800
@@ -112,7 +112,7 @@
                     resources = { key: value }
                     break
     if test:
-        log("Resources:\n%s")
+        log("Resources:\n")
         pprint(resources)
 
     ### choose reflector backend
@@ -124,7 +124,7 @@
     for index, resource in enumerate(resources):
 
         # echo resource
-        log("syncing:'%s' [%d/%d]" % (resource, index, len(resources)))
+        log("syncing:'%s' [%d/%d]" % (resource, index+1, len(resources)))
 
         # loop over hosts
         for host in hosts: