Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / src / Tools / ZCracksPlug / zcracks_plugin.py
index 60a09a8e753688202add673946f2ae4a71466abc..41351cd47490bc7b80ebbfc9d192654ec82dfebc 100644 (file)
@@ -27,5 +27,5 @@ def ZcracksLct(context):
     if command is not "":
       try:
         subprocess.check_call(command, executable = '/bin/bash', shell = True, bufsize=-1)
-      except Exception, e:
-        print "Error: ",e
+      except Exception as e:
+        print("Error: ",e)