From: Nicolas Turro Date: Thu, 27 Oct 2011 15:37:22 +0000 (+0200) Subject: Bugfix related to testing hrns with senslab authority. NT X-Git-Tag: sfa-2.1-24~3^2~312^2~18 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=1780bf7c7e16e6c035056f6689f424bbc8e61c35 Bugfix related to testing hrns with senslab authority. NT --- diff --git a/sfa/senslab/LDAPapi.py b/sfa/senslab/LDAPapi.py index 84528e7a..044ecc48 100644 --- a/sfa/senslab/LDAPapi.py +++ b/sfa/senslab/LDAPapi.py @@ -47,7 +47,7 @@ class LDAPapi : ldapfilter="(|" for hrn in hrns: splited_hrn=hrn.split(".") - if splited_hrn[0] != "SFA_REGISTRY_ROOT_AUTH" : + if splited_hrn[0] != self.authname : print >>sys.stderr,"i know nothing about",hrn else : login=splited_hrn[1] @@ -87,4 +87,4 @@ class LDAPapi : 'date_created' : 'none', 'last_updated': 'none' } ) - return results \ No newline at end of file + return results