bcotton / elections

Forked from elections 5 years ago
Clone

d4e6672 Modernize Python 2 code to get ready for Python 3

4 files Authored by cclauss 5 years ago, Committed by pingou 5 years ago,
    Modernize Python 2 code to get ready for Python 3
    
    Old style exceptions --> new style in Python 3
        Python 3 treats old style exceptions as syntax errors but new style exceptions work as expected in both Python 2 and Python 3.
    Use __print()__ function in both Python 2 and Python 3
        __print()__ is a function in Python 3.
    
        
file modified
+1 -1
file modified
+1 -1
file modified
+2 -1