an attempt to get more feedback from a node that fails to boot
[plcapi.git] / PLC / Methods / DeleteNetworkMethod.py
index b40442c..14a4b57 100644 (file)
@@ -27,7 +27,7 @@ class DeleteNetworkMethod(Method):
     def call(self, auth, name):
         network_methods = NetworkMethods(self.api, [name])
         if not network_methods:
-            raise PLCInvalidArgument, "No such network method"
+            raise PLCInvalidArgument("No such network method")
         network_method = network_methods[0]
 
         network_method.delete()