There is at least one file (I don't remember if I had to refactor more or if it was just the one) that uses 'as' as a variable name. This causes a syntax error in Python 2.6.2. I refactored all instances of 'as' as a variable name to 'as_name', and was able to proceed.