From 2dd43901f6b1a119192c6be0de5891f331bf8cbb Mon Sep 17 00:00:00 2001
From: Bartłomiej Nitoń <bartomiej@raven.(none)>
Date: Tue, 13 Oct 2015 12:26:55 +0200
Subject: [PATCH] Create_walenty script bugfix.

---
 dictionary/management/commands/create_walenty.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dictionary/management/commands/create_walenty.py b/dictionary/management/commands/create_walenty.py
index 2b94495..8e33057 100644
--- a/dictionary/management/commands/create_walenty.py
+++ b/dictionary/management/commands/create_walenty.py
@@ -121,8 +121,8 @@ def create_pos_archive_and_get_stats(archive, pos, filename_base):
         checked_stats_filename = os.path.basename(checked_stats_path)
         archive.add(name=checked_stats_filename, arcname=os.path.join(u'%ss' % pos.tag, checked_stats_filename))
     finally:
-#        os.remove(walenty_path_ready)
-#        os.remove(walenty_path_checked)
+        os.remove(walenty_path_ready)
+        os.remove(walenty_path_checked)
         os.remove(all_stats_path)
         os.remove(checked_stats_path)
         return {'all': all_stats,
--
libgit2 0.22.2