From: Mark Hymers Date: Wed, 26 Dec 2007 20:55:32 +0000 (+0000) Subject: * ud-arbimport: os.exit -> sys.exit X-Git-Tag: userdir-ldap-0.3.16~16^2 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=4fe1c00d4fc54d666437ef45eaaf09208a57efe5 * ud-arbimport: os.exit -> sys.exit --- diff --git a/debian/changelog b/debian/changelog index 86b09e6..301da9a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,8 +19,9 @@ userdir-ldap (0.3.15+xxx) XXunstable; urgency=low * ud-useradd: Avoid a TypeError exception when constructing the template filename * Remove use of deprecated functions from the string module + * ud-arbimport: os.exit -> sys.exit - -- Mark Hymers Wed, 26 Dec 2007 20:49:18 +0000 + -- Mark Hymers Wed, 26 Dec 2007 20:54:28 +0000 userdir-ldap (0.3.15) unstable; urgency=low diff --git a/ud-arbimport b/ud-arbimport index 5d5a37d..7d306f7 100755 --- a/ud-arbimport +++ b/ud-arbimport @@ -36,7 +36,7 @@ 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)