Message356850
Hi Tim!
Sorry, if my explanation wasn't clear.
For some of the iterators - like the one produced by ndiff - the iterator will always return data, even if there is no difference in the files.
My current solution is to run difflib.unified_diff and check if the iterator is non-empty and then run difflib.ndiff again to get the output that I want. |
|
Date |
User |
Action |
Args |
2019-11-18 08:30:12 | simon_ | set | recipients:
+ simon_, tim.peters |
2019-11-18 08:30:12 | simon_ | set | messageid: <1574065812.26.0.0880692419076.issue38789@roundup.psfhosted.org> |
2019-11-18 08:30:12 | simon_ | link | issue38789 messages |
2019-11-18 08:30:12 | simon_ | create | |
|