X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-arbimport;h=90a1746e3e350ca99404157768e933048bbc659e;hp=5d5a37d0b2290c6a36936c5abe0aaa614bcaada3;hb=HEAD;hpb=a6fb69805c3999a85c064a96c93417bb1c284c5c diff --git a/ud-arbimport b/ud-arbimport index 5d5a37d..90a1746 100755 --- a/ud-arbimport +++ b/ud-arbimport @@ -36,10 +36,10 @@ for (switch, val) in options: NoAct = 1; if len(arguments) == 0: print "Give the key to assignt to then the file to import"; - os.exit(0); + sys.exit(0) # Main program starts here -l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser) +l = passwdAccessLDAP(BaseDn, AdminUser) List = open(arguments[1],"r"); Set = [];