Commit 13c91ef9 by Brian Coca

actually use the read source contents for the diff

parent 45cebd28
...@@ -541,7 +541,7 @@ class ActionBase: ...@@ -541,7 +541,7 @@ class ActionBase:
diff['src_larger'] = C.MAX_FILE_SIZE_FOR_DIFF diff['src_larger'] = C.MAX_FILE_SIZE_FOR_DIFF
else: else:
diff['after_header'] = source diff['after_header'] = source
diff['after'] = src.read() diff['after'] = src_contents
else: else:
self._display.debug("source of file passed in") self._display.debug("source of file passed in")
diff['after_header'] = 'dynamically generated' diff['after_header'] = 'dynamically generated'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment