projects
/
pgarchives.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984db9a
)
Remove fromonly file as well upon completed reparsing
author
Magnus Hagander
<magnus@hagander.net>
Thu, 3 Mar 2016 11:56:09 +0000
(12:56 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 3 Mar 2016 11:56:09 +0000
(12:56 +0100)
If it's empty only, same as with the diffs
loader/reparse_message.py
patch
|
blob
|
blame
|
history
diff --git
a/loader/reparse_message.py
b/loader/reparse_message.py
index e66cc7a96067eb4fd83f4a10d7c04710036cb657..519ab0fcd9d98a8851e9806c1ba5069ddc045ff8 100755
(executable)
--- a/
loader/reparse_message.py
+++ b/
loader/reparse_message.py
@@
-119,6
+119,9
@@
if __name__ == "__main__":
f.close()
if os.path.getsize('reparse.diffs') == 0:
os.unlink('reparse.diffs')
+ if os.path.getsize('reparse.fromonly') == 0:
+ os.unlink('reparse.fromonly')
+
# Just in case
conn.rollback()
conn.close()