[orm-devel] A couple clean up items in 0,7
Mike Watkins
orm-devel@mailman.tux4web.de
Mon, 25 Nov 2002 06:56:24 -0800
Found a couple more things:
-----------------------------
in orm/datasource.py:
add
from orm.errors import * # or at least import IlligalPrimaryKey - see next
-----------------------------
in orm/errors.py
consider renaming
IlligalPrimaryKey to IllegalPrimaryKey # and also in orm/datasource.py and
in orm/orm.txt
----------
in orm\adapters\psql/datasource.py
add
from orm.errors import * # (only one referenced but may as well)
line 67, add sys to import (referenced in this file)
import string, sys
----------
Consider normalizing the import statements. In some newer files this is
done already.
i.e. change
from debug import debug
from relationships import relationship
to
from orm.debug import debug
from orm.relationships import relationship
to avoid on conflicts in the future.
---
Just a few early morning thoughts.
Cheers,
Mike