db-api-review: wrap.func_name appears unused, but isn't
Bug #1119726 reported by
Mark McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
High
|
Boris Pavlovic |
Bug Description
See https:/
It looks like this:
def wrap_db_error(f):
def _wrap(*args, **kwargs):
...
_wrap.func_name = f.func_name
return _wrap
is unused
But it's probably a trick to make a traceback of an exception thrown from _wrap() look like it was thrown from the wrapped function
Somebody figure out wtf is going on here and add a comment :)
Changed in oslo: | |
assignee: | nobody → Boris Pavlovic (boris-42) |
Changed in oslo: | |
status: | Confirmed → In Progress |
tags: | added: db |
Changed in oslo: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/42843
Review: https:/