Fix: Make osmclient Python 3 compatible.
The Python 3 compatibility of osmclient was
completely broken, e.g., print statements without ().
This fixes are mostly done with the automated 2to3
conversion tool.
Some fixes (mixed tabs and spaces) were fixed by hand.
Change-Id: Idea46a4b07e55eaa5bcf5defff64af3f751d740f
Signed-off-by: peusterm <manuel.peuster@upb.de>
diff --git a/tox.ini b/tox.ini
index 134636b..5c85c60 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py3,flake8
+envlist = py27,py3,flake8,pyflakes
toxworkdir={homedir}/.tox
[testenv]
@@ -13,6 +13,12 @@
commands =
flake8 setup.py
+[testenv:pyflakes]
+basepython = python3
+deps = pyflakes
+commands =
+ pyflakes osmclient
+
[testenv:build]
basepython = python
deps = stdeb