projects
/
pgarchives.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21bd810
)
Fix accidental reversing of printed manual header diffs
author
Magnus Hagander
<magnus@hagander.net>
Tue, 20 Nov 2018 14:18:25 +0000
(15:18 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 20 Nov 2018 14:18:46 +0000
(15:18 +0100)
loader/lib/storage.py
patch
|
blob
|
blame
|
history
diff --git
a/loader/lib/storage.py
b/loader/lib/storage.py
index eadcaa91a10cef7756d6d32dc1c3240979517ab0..4d6de1c35f286ce7b0156e5b226e8765524ef348 100644
(file)
--- a/
loader/lib/storage.py
+++ b/
loader/lib/storage.py
@@
-263,8
+263,8
@@
class ArchivesParserStorage(ArchivesParser):
f.write("==== %s ====\n" % self.msgid)
for fn in ['_from', 'to', 'cc', 'subject']:
if getattr(self, fn) != eval(fn):
-
d
= u"- {0}: {1}\n".format(fn, eval(fn))
-
s
= u"+ {0}: {1}\n".format(fn, getattr(self, fn))
+
s
= u"- {0}: {1}\n".format(fn, eval(fn))
+
d
= u"+ {0}: {1}\n".format(fn, getattr(self, fn))
f.write(s)
f.write(d)
f.write("\n\n")