prevent error when lasso does not have the EP_HREF symbol

This commit is contained in:
Benjamin Dauvergne 2012-11-19 15:36:01 +01:00 committed by Thomas NOEL
parent 9ca1b0c05f
commit 27a170136f
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class FormPage(Directory):
def get_namespaces(self):
namespaces = {
'pp': getattr(lasso, 'PP11_HREF', getattr(lasso, 'PP_HREF', None)), # support old lasso
'ep': lasso.EP_HREF,
'ep': getattr(lasso, 'EP_HREF', ''),
'eoa': 'urn:entrouvert:id-sis-adeline:2005-09', # eo schema for adeline
'cafp': 'urn:entrouvert:id-sis-caf-profile:2005-09', # eo schema for caf
}