changeset cf0148f05ac2 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=cf0148f05ac2
description: cleanup temp file correctly
diffstat:
src/common/latex.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r bd68a97ed0f4 -r cf0148f05ac2 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