From: Dan Scott Date: Thu, 8 Aug 2019 21:33:28 +0000 (-0400) Subject: Another invalid Colleague ID pattern to skip over X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9d10bcf63e3888cc91295ef7064e55f154b519d0;p=contrib%2FConifer.git Another invalid Colleague ID pattern to skip over Signed-off-by: Dan Scott --- diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index be337ffe88..60b3cbfb22 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': + 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)' % (