From 9d10bcf63e3888cc91295ef7064e55f154b519d0 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 8 Aug 2019 17:33:28 -0400 Subject: [PATCH] Another invalid Colleague ID pattern to skip over 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 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)' % ( -- 2.11.0