git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2b6f535
)
we will make our own geniclient connection to the registry instead of using sfa.serve...
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 11 Sep 2009 20:22:42 +0000
(20:22 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 11 Sep 2009 20:22:42 +0000
(20:22 +0000)
PLC/SFA.py
patch
|
blob
|
history
diff --git
a/PLC/SFA.py
b/PLC/SFA.py
index
853f238
..
32659cf
100644
(file)
--- a/
PLC/SFA.py
+++ b/
PLC/SFA.py
@@
-112,7
+112,6
@@
class SFA:
if not parent_hrn: parent_hrn = hrn
#records = self.registry.list(self.credential, parent_hrn)
records = self.registry.resolve(self.credential, hrn)
if not parent_hrn: parent_hrn = hrn
#records = self.registry.list(self.credential, parent_hrn)
records = self.registry.resolve(self.credential, hrn)
- records = []
for record in records:
if record['type'] == type and record['hrn'] == hrn:
exists = True
for record in records:
if record['type'] == type and record['hrn'] == hrn:
exists = True