projects
/
melon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8a4ba
)
Always remove tmp file in melon-watch-dir
author
jorgormo
<jorgormo@node001.(none)>
Thu, 3 Jul 2008 13:44:58 +0000
(15:44 +0200)
committer
jorgormo
<jorgormo@node001.(none)>
Thu, 3 Jul 2008 13:44:58 +0000
(15:44 +0200)
melon-watch-dir.py
patch
|
blob
|
history
diff --git
a/melon-watch-dir.py
b/melon-watch-dir.py
index 2063ab09dd58f726b671be5683ed246fdc6044a0..8ce1a16bba0ca7f69ed48594b69f8153fd1d9f5e 100755
(executable)
--- a/
melon-watch-dir.py
+++ b/
melon-watch-dir.py
@@
-46,7
+46,7
@@
try:
outfile.write("!!%s&%s&%s&%s&%d!!\n"%(name, user, hostname, dirname+" "+str(count)+"/"+str(total), (100*count)/total))
outfile.flush()
outfile.close()
-
except
:
+
finally
:
if "NamedTemporaryFile" not in dir(tempfile):
os.remove(outfilename)