git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d2f85
)
fixed local variable 'records' referenced before assignment bug
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 2 Jun 2009 19:58:22 +0000
(19:58 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 2 Jun 2009 19:58:22 +0000
(19:58 +0000)
geni/methods/list.py
patch
|
blob
|
history
diff --git
a/geni/methods/list.py
b/geni/methods/list.py
index
81c5e08
..
ddc460f
100644
(file)
--- a/
geni/methods/list.py
+++ b/
geni/methods/list.py
@@
-27,6
+27,7
@@
class list(Method):
def call(self, cred, hrn):
self.api.auth.check(cred, 'list')
+ records = []
try:
if not self.api.auth.hierarchy.auth_exists(hrn):
raise MissingAuthority(hrn)