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 #1262 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

DateTimeConverter: global name 'kw' is not defined

Reported by: iberonesia Owned by: anonymous
Priority: normal Milestone: 1.0.2
Component: unassigned Version: trunk
Severity: normal Keywords:
Cc:

Description

This is the stack trace:

  File "/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/validators.py", line 87, in __init__
    kw["not_empty"] = not_empty
NameError: global name 'kw' is not defined

That line should be: kwargs["not_empty"] = not_empty

Change History

comment:1 Changed 11 years ago by alberto

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

Fixed in [2459]. I can't believe this code path hasn't been walked before... Thanks! :)

Alberto

Note: See TracTickets for help on using tickets.