Description
Diffing two versions of a page causes ZeroDivisionError under certain circumstances.
How to reproduce
Bug is reproduceable on a private Moin installation. Python traceback included (in text format) in PythonTraceback.txt.
The bug is triggered when diffing two versions where the second version has an empty line added somewhere in the page. Maybe this has to do with the python version I'm running (2.2.1) because this doesn't happen on this MoinMoin (I tried using this page).
Details
MoinMoin Version |
1.2.2 |
OS and Version |
Debian Linux w/kernel 2.4.18 |
Python Version |
Python 2.2.1 |
Python Traceback |
Discussion
Upgrade either Python to a never version or at least difflib.py (see CHANGES file of moin).
Plan
- Priority: already fixed
- Assigned to: nobody
- Will be fixed in release: -