projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7c61977
)
clean up files another way
author
Martin Zobel-Helas
<zobel@debian.org>
Sun, 29 Dec 2013 19:25:06 +0000
(20:25 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sun, 29 Dec 2013 19:25:06 +0000
(20:25 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
ud-generate
patch
|
blob
|
history
diff --git
a/ud-generate
b/ud-generate
index
69c8794
..
d8c394b
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-668,10
+668,10
@@
def GenDBM(accounts, File, key):
Fdb.close()
except:
# python-dbm names the files Fdb.db.db so we want to them to be Fdb.db
-
Die(File, Fdb + ".db", None
)
+
os.remove(File + ".db"
)
raise
# python-dbm names the files Fdb.db.db so we want to them to be Fdb.db
-
Done(File, Fdb + ".db", Non
e)
+
os.rename (File + ".db", Fil
e)
# Generate the anon XEarth marker file
def GenMarkers(accounts, File):