Openbsd 5.2 import_logs.py generates error

Dear group,

in a piwik 1.12 installation, when running the following (according to: How to - Analytics Platform - Matomo):

python3.2 import_logs.py --url=https://<my_domain>.com logs/access.log --idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots

I get the error:

File “import_logs.py”, line 466
except Piwik.Error, e:
^
SyntaxError: invalid syntax

use Python 2.6 or 2.7