adeutscher / DirectoryTools

0 stars 0 forks source link

Exception Catching Syntax - Python 2.4 #29

Closed adeutscher closed 10 years ago

adeutscher commented 10 years ago

Ran into an issue when setting up DirectoryTools with a system using Python 2.4.

The problem is due to my catching exceptions using except ErrorType as e. Python 2.5 and below on this system does not accept this syntax.

All catches that use as need to be re-phased to use except ErrorType, e.