Merge "Re-assign quantum.api module as last operation"

This commit is contained in:
Jenkins 2013-07-16 02:20:33 +00:00 committed by Gerrit Code Review
commit b36dcd6b12

View File

@ -29,6 +29,8 @@ warnings.warn(
_('You are using old configuration values for the api-paste config. '
'Please update for Neutron.')
)
sys.modules['quantum.api'] = api
sys.modules['quantum.api.extensions'] = extensions
sys.modules['quantum.api.v2'] = v2
# The following assigment must be performed at the end of the module.
# Otherwise local variables will be overwritten.
sys.modules['quantum.api'] = api