in get_login_bases, if there are no site_ids then there are no login basees. Return...
[plcapi.git] / PLC / SFA.py
index 7671ac8..ce097f9 100644 (file)
@@ -69,7 +69,7 @@ class SFA:
         elif object.has_key('site_ids') and object['site_ids']:
             site_ids.extend(object['site_ids'])
         else:
-            raise Exception
+            return login_bases
 
         # get the login bases
         for site_id in site_ids: