plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

csv module has no attribute next #82

Closed erral closed 5 years ago

erral commented 5 years ago

When registering a script to be run with the control script created by this recipe in python3, I get this exception:

Traceback (most recent call last):
  File "./bin/instance", line 269, in <module>
    + sys.argv[1:]))
  File "/home/erral/downloads/eggs/plone.recipe.zope2instance-6.1.3-py3.7.egg/plone/recipe/zope2instance/ctl.py", line 937, in main
    c.onecmd(' '.join(options.args))
  File "/usr/lib/python3.7/cmd.py", line 217, in onecmd
    return func(arg)
  File "/home/erral/downloads/eggs/plone.recipe.zope2instance-6.1.3-py3.7.egg/plone/recipe/zope2instance/ctl.py", line 601, in go
    tup = csv.reader(tup, delimiter=' ').next()
AttributeError: '_csv.reader' object has no attribute 'next'