projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up files another way
[mirror/userdir-ldap.git]
/
ud-generate
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
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
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):
# Generate the anon XEarth marker file
def GenMarkers(accounts, File):