2to3 -f raise
[sfa.git] / sfa / managers / registry_manager.py
index a88c9de..5567197 100644 (file)
@@ -625,7 +625,7 @@ class RegistryManager:
         for command in all_commands:
             (status, output) = commands.getstatusoutput(command)
             if status:
-                raise Exception, output
+                raise Exception(output)
 
         for filename in [key_filename, gid_filename]:
             os.unlink(filename)