Like this:
mwh@grond:much-faster-rewrite-map$ ./bin/py -c 'from lp.registry.model import person'
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/home/mwh/canonical/checkouts/much-faster-rewrite-map/lib/lp/registry/model/person.py", line 61, in ?
from canonical.launchpad.database.account import Account
File "/home/mwh/canonical/checkouts/much-faster-rewrite-map/lib/canonical/launchpad/database/__init__.py", line 10, in ?
from lp.registry.model.person import *
AttributeError: 'module' object has no attribute 'generate_nick'
A good fix for this, I think, would be to remove the "from lp.registry.model.person import *" from canonical.launchpad.database.__init__, which is probably not that hard but I've shaved enough yaks for the branch I'm currently working on.
salgado. rs=me to remove every * import from c/l/{database. interfaces. browser} /__init_ _.py