git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RecordnotFound should be RecordNotFound
[sfa.git]
/
geni
/
util
/
api.py
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()