OmegaPhil / animecheck

Commandline CRC32, MD5 and eD2k-based hashing script also capable of reading and creating SFV and MD5 checksum files and generating eD2k links. This is an initial foray into python and github
GNU General Public License v3.0
46 stars 5 forks source link

Import Error in Python 3 #5

Closed wiiaboo closed 12 years ago

wiiaboo commented 12 years ago

Because there is no exceptions module in Python 3, an error is thrown every time the script is run.

I don't use Pydev so I don't know what it requires to work, but I suggest using try/except to make it work both ways.

wiiaboo commented 12 years ago

https://gist.github.com/3170174

OmegaPhil commented 12 years ago

Ah I see... well, you cant have a try/except on it and then kill the functionality off in the script proper. Since I expect this to work in Python 3 when I eventually move, I will stop importing the exceptions module entirely and update my notes.