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 13 years ago

Last modified 12 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@…


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.


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

Change History

Changed 13 years ago by jab@…

patch against r579

comment:1 Changed 13 years ago by ronald@…

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

Thanks, I'll take a look at it

comment:2 Changed 13 years ago by droggisch

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


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

look like this:

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

comment:3 Changed 13 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.