[Python-projects] pylint bugreport: fails on a relative import (part 2)

Hans de Goede hdegoede at redhat.com
Tue Mar 31 20:30:08 CEST 2009


Me again,

p.s.

It also fails one the following construction used in
storage/formats/*.py:
"from . import DeviceFormat, register_device_format"

With the following errors:
E0611: 29: No name 'DeviceFormat' in module ''
E0611: 29: No name 'register_device_format' in module ''

Note that both DeviceFormat and register_device_format are
defined in storage/format/__init__.py

Regards,

Hans


More information about the Python-Projects mailing list