X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-arbimport;h=5d5a37d0b2290c6a36936c5abe0aaa614bcaada3;hp=ab3af80e27c80d074560665b14817abf6f48ff88;hb=a6fb69805c3999a85c064a96c93417bb1c284c5c;hpb=3ec1386cd62200a1d86fc72168c2aa1fe305bdd8 diff --git a/ud-arbimport b/ud-arbimport index ab3af80..5d5a37d 100755 --- a/ud-arbimport +++ b/ud-arbimport @@ -22,7 +22,7 @@ # the form of: # uid: -import string, re, time, ldap, getopt, sys; +import re, time, ldap, getopt, sys; from userdir_ldap import *; # Process options @@ -52,7 +52,7 @@ while(1): if User == None: User = Split[0]; if Split[0] == User: - Set.append(string.strip(Split[1])); + Set.append(Split[1].strip()); continue; else: if len(Set) == 0: @@ -74,4 +74,4 @@ while(1): if Line == "": break; User = Split[0]; - Set = [string.strip(Split[1])]; + Set = [Split[1].strip()];