Better python, i.e., python that actually does what it should
[mirror/dsa-puppet.git] / modules / roles / files / static-mirroring / static-master-run
index e7e8b2d..aa61682 100755 (executable)
@@ -22,9 +22,9 @@ with open(conffile) as f:
     (name, value) = line.split("=")
     config[name] = value
 
-for key in ('base'):
+for key in ('base',):
   if not key in config:
-    raise Exception("Configuration element '%s' not found in config file %s", key, conffile)
+    raise Exception("Configuration element '%s' not found in config file %s"%(key, conffile))
 
 allclients = set()
 with open('/etc/static-clients.conf') as f: