← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1181606] Re: require_context*() decorators in nova/db/sqlalchemy/api.py don't copy function attrs to a wrapper

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1181606

Title:
  require_context*() decorators in nova/db/sqlalchemy/api.py don't copy
  function attrs to a wrapper

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  require_context() and require_admin_context()  decorators of
  nova/db/sqlalchemy/api.py don't copy func_name, __doc__ and __module__
  attributes of a decorated function to a wrapper function. This makes
  introspection and debugging harder and should be fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1181606/+subscriptions