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

Opened 11 years ago

Last modified 11 years ago

[PATCH] paginate.py not importing sqlobject module

Reported by: guest Owned by: alberto
Priority: normal Milestone: 1.0.1
Component: TurboGears Version: 1.0
Severity: normal Keywords:
Cc:

Description

My latest patch in #1115 left out the sqlobject import. This patch simply imports sqlobject if it is available.

Attachments

paginate.py.diff.1 Download (339 bytes) - added by guest 11 years ago.

Change History

Changed 11 years ago by guest

comment:1 Changed 11 years ago by randall

Forgot to leave me email address on the previous comment. Also, I'd like to write tests for paginate.py, but run into problems trying to do so. The discussion is here:

 http://groups.google.at/group/turbogears/browse_thread/thread/4380df8d5b5823ec/861d3f88d917d245?lnk=gst&q=paginate+tests&rnum=3&hl=de#861d3f88d917d245

If someone can figure out how to get past these obstacles, I'll gladly write tests.

comment:2 Changed 11 years ago by alberto

  • Status changed from new to assigned
  • Owner changed from anonymous to alberto
  • Summary changed from paginate.py not importing sqlobject module to [PATCH] paginate.py not importing sqlobject module
  • Component changed from unassigned to TurboGears
  • Milestone changed from 1.0.2 to 1.0.1

comment:3 Changed 11 years ago by alberto

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

Comitted in [2426]. Thanks :)

Alberto

Note: See TracTickets for help on using tickets.