dutzi / tamper

Devtools extension, lets you locally edit files served from the web (based on mitmproxy).
http://dutzi.github.io/tamper
MIT License
394 stars 36 forks source link

Make setup.py compatible with python 2 and 3 #46

Closed andersonvom closed 5 years ago

andersonvom commented 6 years ago

In python2, we can put the expressions to be printed in parentheses to make print look like a function call, which is how it's used in python3. So surrounding these expressions in parentheses make setup.py compatible to both versions of python.

This fixes issue #34

kenjiru commented 6 years ago

Looks like a straight forward fix. It would be nice to get merged..

bityob commented 5 years ago

@dutzi Can this PR be merged?

dutzi commented 5 years ago

Sure, thanks for the PR!