← Back to team overview

openstack-poc team mailing list archive

[Bug 972859] [NEW] Fix utils.import_object() when trying to get an instance of a class

 

Public bug reported:

RIght now, utils.import_object('foo') is the same as
utils.import_class('foo') when 'foo' is the path to a class.  This
should be fixed so that import_object() returns an instance of that
class (like how this works in nova.utils).

** Affects: openstack-common
     Importance: Undecided
     Assignee: Russell Bryant (russellb)
         Status: In Progress

** Changed in: openstack-common
     Assignee: (unassigned) => Russell Bryant (russellb)

-- 
You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.
https://bugs.launchpad.net/bugs/972859

Title:
  Fix utils.import_object() when trying to get an instance of a class

Status in openstack-common:
  In Progress

Bug description:
  RIght now, utils.import_object('foo') is the same as
  utils.import_class('foo') when 'foo' is the path to a class.  This
  should be fixed so that import_object() returns an instance of that
  class (like how this works in nova.utils).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-common/+bug/972859/+subscriptions


Follow ups

References