Added long-missing sys import. Doh!
Ignore configuration file.
Apparently, ConfigParser was missing too. Don't commit untested code, kids.
It helps to read the correct configuration file.