From: jorgormo Date: Tue, 1 Jul 2008 15:18:26 +0000 (+0200) Subject: fix en nombres temporales para hyades X-Git-Url: http://slack.codemaniacs.com/git/?a=commitdiff_plain;h=f44c3ee06933626763b5c85e91c19ce875cf98d7;p=melon.git fix en nombres temporales para hyades --- diff --git a/melon-watch-dir.py b/melon-watch-dir.py index 3a3cd0a..2972b1a 100755 --- a/melon-watch-dir.py +++ b/melon-watch-dir.py @@ -28,7 +28,7 @@ def tempname(suffix, preffix, dirname): if "NamedTemporaryFile" in dir(tempfile): outfile=tempfile.NamedTemporaryFile("w+b",-1,"","melon-",dst_dirname) else: - outfilename=tempname(".melon", "log-", dst_dirname) + outfilename=tempname("melon-", "", dst_dirname) outfile=file(outfilename, "w+b", 0) try: old_count = -1