projects
/
melon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f8ba2d
)
Bugfix. Last line of the log wasn't being written.
author
Jorge Gorbe Moya
<jgorbe@dsic.upv.es>
Thu, 3 Jul 2008 13:26:18 +0000
(15:26 +0200)
committer
Jorge Gorbe Moya
<jgorbe@dsic.upv.es>
Thu, 3 Jul 2008 13:26:18 +0000
(15:26 +0200)
melon-watch-dir.py
patch
|
blob
|
history
diff --git
a/melon-watch-dir.py
b/melon-watch-dir.py
index 45a9420e7a27ceee05453f562d35f5a1dca752d9..e4e1e76e409fcf02af78b356ba864d220984e772 100755
(executable)
--- a/
melon-watch-dir.py
+++ b/
melon-watch-dir.py
@@
-28,6
+28,8
@@
while count < total:
old_count = count
count = len(os.listdir(dirname))
-
+outfile.write("!!%s&%s&%s&%s&%d!!\n"%(name, user, hostname, dirname+" "+str(count)+"/"+str(total), (100*count)/total))
+outfile.flush()
+outfile.close()