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

Opened 10 years ago

Last modified 10 years ago

[patch] fix sql help failure

Reported by: kagesenshi Owned by: Chris Arndt
Priority: low Milestone: 1.1
Component: TurboGears Version: 1.0.8
Severity: minor Keywords:


$ tg-admin sql help
Using database URI sqlite:///tmp/data.sqlite
usage: tg-admin help [options]
Show help

tg-admin help: error: no such option: --egg

seems like theres a minor bug in base.py

sqlobjcommand=command was assigned after from sqlobject.manager import command, breaking the no_connection_param and no_model_param checks.

attached a patch


tg-sqlobjcommand.patch Download (630 bytes) - added by kagesenshi 10 years ago.

Change History

Changed 10 years ago by kagesenshi

comment:1 Changed 10 years ago by Chris Arndt

  • Priority changed from normal to low
  • Status changed from new to assigned
  • Severity changed from normal to minor
  • Owner set to Chris Arndt
  • Milestone set to 1.1

comment:2 Changed 10 years ago by Chris Arndt

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

Applied in r6644 to all 1.x branches. Thanks!

Note: See TracTickets for help on using tickets.