Fix some Python 2.7 problems
Fix some Python 2.7 problems

pombredanne/pyeda,sschnug/pyeda,pombredanne/pyeda,cjdrake/pyeda,GtTmy/pyeda,GtTmy/pyeda,cjdrake/pyeda,pombredanne/pyeda,GtTmy/pyeda,karissa/pyeda,sschnug/pyeda,cjdrake/pyeda,karissa/pyeda,karissa/pyeda,sschnug/pyeda