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

Opened 13 years ago

Last modified 12 years ago

DateTimeConverter doesn't call super in __init__

Reported by: xentac Owned by: anonymous
Priority: normal Milestone:
Component: TG Widgets Version:
Severity: normal Keywords:


Even though it gets passed kw, most of them are ignored (like messages). As long as there are no negative effects, we should probably call super in the init method.

Change History

comment:1 Changed 13 years ago by jorge.vargas

please provide move feedback on this.

what version of TG? what part of the code is giving the problems.

who is supposed to call init?

comment:2 Changed 13 years ago by xentac

It looks like 1.0b1 has the super().init call in it. Though, it's passing the wrong first argument to super. The line should look like this:

super(DateTimeConverter?, self).init(*args, kwargs)

comment:3 Changed 13 years ago by xentac

Gah, silly markup. There are underscores surrounding the init function: _ _ init _ _

comment:4 Changed 13 years ago by max

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

Super call is there (validators.py, right?)

Note: See TracTickets for help on using tickets.