Opened 8 years ago

Closed 8 years ago

#7286 closed (fixed)

Use functools wraps on the django.db.transaction decorators

Reported by: Chris Beaven Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

These decorators don't use the wraps method like they should.

Attachments (1)

transaction-decorators-wraps.diff (1.1 KB) - added by Chris Beaven 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Chris Beaven

comment:1 Changed 8 years ago by Chris Beaven

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [7558]) Fixed #7286 -- Added functools wrapping to the transaction decorators. Thanks, SmileyChris.

Note: See TracTickets for help on using tickets.
Back to Top