adeutscher / DirectoryTools

0 stars 0 forks source link

Python 2.4 compatibility #31

Closed adeutscher closed 10 years ago

adeutscher commented 10 years ago

The syntax issue in #29 isn't the only issue with older python versions. Ran into an error trying to use the logging module's NullHandler().

Opening this issue as a general ticket to get the module functional at least to the point of being able to do a group lookup in Python 2.4.

adeutscher commented 10 years ago
adeutscher commented 10 years ago

Learning something new every day, and running into more issues with features that I had taken for granted while developing in Python 2.7.

The str.format() method is new in Python 2.6. Considering how I use the method in all of my output, this would be a very sizable change change around.

These fixes would take more time than I have to spend on this issue today, and I'm beginning to wonder if I should be spending that much time on supporting an older Python version at all.

Closing and marking as wontfix for the moment. No changes implemented. For my immediate use case, I'll just push out the files I need to the server with Python 2.4 from a server running a more modern version.