tweaked LeaseFilter to allow lists instead of tuples for clip and alive
[plcapi.git] / PLC / Boot.py
index 001211e..0f1bc28 100644 (file)
@@ -33,7 +33,7 @@ def notify_owners(method, node, message_id,
     if include_pis or include_techs:
         sites = Sites(method.api, [node['site_id']])
         if not sites:
-            raise PLCAPIError, "No site associated with node"
+            raise PLCAPIError("No site associated with node")
         site = sites[0]
 
         persons = Persons(method.api, site['person_ids'])