Makes deleting VMs work with the access controls.
[invirt/packages/invirt-web.git] / main.py
diff --git a/main.py b/main.py
index e8d199d..d4ae1c5 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -13,7 +13,6 @@ import sys
 import time
 from StringIO import StringIO
 
-
 def revertStandardError():
     """Move stderr to stdout, and return the contents of the old stderr."""
     errio = sys.stderr
@@ -641,7 +640,7 @@ if __name__ == '__main__':
     if not operation:
         operation = 'list'
 
-    #main(operation, u, fields)
-    import profile
-    profile.run('main(operation, u, fields)', 'log-'+operation)
+    main(operation, u, fields)
+    #import profile
+    #profile.run('main(operation, u, fields)', 'log-'+operation)