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

Opened 12 years ago

Last modified 10 years ago

Catwalk can't handle InheritableSQLObject classes with mixins

Reported by: jab@… Owned by: anonymous
Priority: normal Milestone:
Component: Toolbox Version:
Severity: normal Keywords: [PATCH]
Cc: jab@…

Description

My SQLObject (and InheritableSQLObject) classes make use of a mixin class, for providing common functionality. This breaks Catwalk, since it assumes InheritableSQLObject objects only have one base class. I've attached a patch that fixes this.

Attachments

Catwalk.patch Download (697 bytes) - added by jab@… 12 years ago.
patch against r579

Change History

Changed 12 years ago by jab@…

patch against r579

comment:1 Changed 12 years ago by ronald@…

  • Keywords [PATCH] added
  • Cc jab@… added

Thanks, I'll take a look at it

comment:2 Changed 11 years ago by droggisch

Still not working... the patch could even be more simple:

Make

return 'sqlobject.inheritance.InheritableSQLObject' in '%s'% obj.__bases__

look like this:

return 'sqlobject.inheritance.InheritableSQLObject' in '%s'% (obj.__bases__,)

comment:3 Changed 11 years ago by elvelind

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

commited and fixed in 1597

Note: See TracTickets for help on using tickets.