Another invalid Colleague ID pattern to skip over
authorDan Scott <dan@coffeecode.net>
Thu, 8 Aug 2019 21:33:28 +0000 (17:33 -0400)
committerDan Scott <dan@coffeecode.net>
Thu, 8 Aug 2019 21:33:28 +0000 (17:33 -0400)
Signed-off-by: Dan Scott <dan@coffeecode.net>
tools/patron-load/ldap_osrf_sync

index be337ff..60b3cbf 100755 (executable)
@@ -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)' % (