From 4fe1c00d4fc54d666437ef45eaaf09208a57efe5 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 26 Dec 2007 20:55:32 +0000 Subject: [PATCH] * ud-arbimport: os.exit -> sys.exit --- debian/changelog | 3 ++- ud-arbimport | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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) -- 2.20.1