The change doesn't handle the case where cfg.py imports other modules from openstack/common which aren't installed yet either. This is the case with the new iniparser.py module that I recently got merged.
As a workaround so I can get my changes into nova, I hacked update.py to use this code:
try:
from openstack.common import cfg
except AttributeError:
try: sys.path.insert(0, '.')
from openstack.common import cfg
finally: sys.path.pop(0)
The change doesn't handle the case where cfg.py imports other modules from openstack/common which aren't installed yet either. This is the case with the new iniparser.py module that I recently got merged.
As a workaround so I can get my changes into nova, I hacked update.py to use this code:
try:
sys.path. insert( 0, '.')
sys.path. pop(0)
from openstack.common import cfg
except AttributeError:
try:
from openstack.common import cfg
finally: