Commit e63afd18 authored by Loic Baron's avatar Loic Baron
Browse files

sfareg fix endpoint version (urn is required)

parent ac1c9b94
......@@ -98,7 +98,7 @@ class SfaReg(SfaApi):
def _list_entity(self, hrn=None):
if hrn is None:
hrn = self._version['urn']
hrn = self.endpoint.version['urn']
# attept to list the hrn first if it is an authority
# if hrn is not an authority, it will list all elements
# TODO: manage exception here like socket.timeout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment