Fix bug 628 - Better handling of model management
[osm/N2VC.git] / tests / charms / layers / simple / reactive / simple.py
index 228be3c..802d60c 100644 (file)
@@ -36,7 +36,7 @@ def touch():
         filename = action_get('filename')
         cmd = ['touch {}'.format(filename)]
         result, err = charms.sshproxy._run(cmd)
-    except:
+    except Exception:
         action_fail('command failed:' + err)
     else:
         action_set({'output': result})