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:
1e40a46
)
RecordnotFound should be RecordNotFound
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 8 May 2009 17:24:22 +0000
(17:24 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 8 May 2009 17:24:22 +0000
(17:24 +0000)
geni/util/api.py
patch
|
blob
|
history
diff --git
a/geni/util/api.py
b/geni/util/api.py
index
b6851c4
..
e3ca0ec
100644
(file)
--- a/
geni/util/api.py
+++ b/
geni/util/api.py
@@
-176,7
+176,7
@@
class GeniAPI:
table = self.auth.get_auth_table(auth_hrn)
records = table.resolve('*', hrn)
if not records:
- raise Record
n
otFound
+ raise Record
N
otFound
record = records[0]
type = record.get_type()
object_gid = record.get_gid_object()