#2361: [patch] fix sql help failure
------------------------+---------------------------------------------------
 Reporter:  kagesenshi  |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  normal      |   Milestone:       
Component:  TurboGears  |     Version:  1.0.8
 Severity:  normal      |    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

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2361>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to