EpocDotFr / todotxtio

Simple Python module to parse, manipulate and write Todo.txt data
https://epocdotfr.github.io/todotxtio/
Other
15 stars 9 forks source link

FIX: compatibility with Python v2.x #9

Open nnako opened 6 years ago

nnako commented 6 years ago

modified some bits in order to make the code run on Python v2.x (checked with v2.7). Imported the standard module "io" which provides unicode character handling for Python v2 and v3 in the same way. Additionally, the call of the function "super()" had to be modified in order to fit both Python versions. Some cosmetics regarding the function comments were made to facilitate better standard folding within editors.

EpocDotFr commented 6 years ago

Hi, thank you for your interest in Todo.txt I/O!

I added some comments in your PR. Once they'll be addressed, this PR will be ready to be merged and a new version of Todo.txt I/O will be released. Also please create a contributors list in the readme (like here) then add yourself as well as what you done in a few words.

EpocDotFr commented 6 years ago

Also please update the docs (saying it's also compatible with Python 2) as well as the setup.py.