From e43d64096bae80813ecfa14ae1b2b1e851359d21 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 14 Aug 2019 12:14:09 -0400 Subject: [PATCH] Python is case-sensitive, remember? Signed-off-by: Dan Scott --- tools/patron-load/ldap_osrf_sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 60b3cbfb22..b5104ca161 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -160,7 +160,7 @@ class User: return 2, 'NO_COLLEAGUE_ID' else: ident_value = ident_value.lower() - if len(ident_value) == 7 and ident_value[0] == '0' AND ident_value[0:2] != '09': + if len(ident_value) == 7 and ident_value[0] == '0' and ident_value[0:2] != '09': return 2, ident_value print >> sys.stderr, 'Invalid lulColleagueId number for %s (%s)' % ( -- 2.11.0