Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1809 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

_schema function in decorators.py unused.

Reported by: nbm Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version: trunk
Severity: normal Keywords:


Function is unused. Mildly dangerously uses 'd' as a trick to get positional argument dictionary if passed in. If kept, should use a "private" variable name such as _dict instead.


tg-decorators-remove-_schema-unused.patch Download (673 bytes) - added by nbm 11 years ago.
tg-decorators-_schema-protect-d-parameter.patch Download (691 bytes) - added by nbm 11 years ago.

Change History

Changed 11 years ago by nbm

Changed 11 years ago by nbm

comment:1 Changed 11 years ago by mramm

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in #4419 -- even though that has a very bad commit message.

comment:2 Changed 10 years ago by anonymous

  • Milestone 2.0-preview-1 deleted

Milestone 2.0-preview-1 deleted

Note: See TracTickets for help on using tickets.