getting record object
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 7 Sep 2009 19:37:23 +0000 (19:37 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 7 Sep 2009 19:37:23 +0000 (19:37 +0000)
sfa/plc/api.py

index 9ca932b..21e573e 100644 (file)
@@ -195,7 +195,7 @@ class GeniAPI:
             auth_hrn = hrn
         auth_info = self.auth.get_auth_info(auth_hrn)
         table = GeniTable()
-        records = table.find(hrn)
+        records = table.findObjects(hrn)
         if not records:
             raise RecordNotFound
         record = records[0]