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
refactored
[sfa.git]
/
sfa
/
managers
/
registry_manager_pl.py
diff --git
a/sfa/managers/registry_manager_pl.py
b/sfa/managers/registry_manager_pl.py
index
1af2caf
..
2486738
100644
(file)
--- a/
sfa/managers/registry_manager_pl.py
+++ b/
sfa/managers/registry_manager_pl.py
@@
-129,7
+129,7
@@
def list(api, xrn, origin_hrn=None):
tree = prefixTree()
tree.load(registry_hrns)
registry_hrn = tree.best_match(hrn)
tree = prefixTree()
tree.load(registry_hrns)
registry_hrn = tree.best_match(hrn)
-
+
#if there was no match then this record belongs to an unknow registry
if not registry_hrn:
raise MissingAuthority(xrn)
#if there was no match then this record belongs to an unknow registry
if not registry_hrn:
raise MissingAuthority(xrn)