changeset ecb971dc6501 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=ecb971dc6501
description: cleanup temp file correctly

diffstat:

 src/common/latex.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 9e2d1da2a036 -r ecb971dc6501 src/common/latex.py
--- a/src/common/latex.py       Tue Apr 17 15:40:24 2012 +0200
+++ b/src/common/latex.py       Wed Apr 18 00:14:11 2012 +0200
@@ -166,6 +166,8 @@
 
     if exitcode == 0:
         os.rename(tmpfile + '.png', tmppng)
+    else:
+        os.remove(tmppng)
 
     os.rmdir(tmpdir)
 
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to