in get_login_bases, if there are no site_ids then there are no login basees. Return...
authorTony Mack <tmack@cs.princeton.edu>
Thu, 3 Sep 2009 14:25:25 +0000 (14:25 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 3 Sep 2009 14:25:25 +0000 (14:25 +0000)
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: