#762: UnboundLocalError from trac-admin console command
--------------------------+-----------------------
 Reporter:  rjollos       |      Owner:  nobody
     Type:  defect        |     Status:  new
 Priority:  minor         |  Milestone:  Release 9
Component:  multiproduct  |    Version:
 Keywords:                |
--------------------------+-----------------------
 Another minor issue:

 If `$env` is not an environment directory and `cmd` is not a valid
 command:
 {{{
 $ trac-admin ../tracdev help cmd
 No documentation found for 'cmd'. Use 'help' to see the list of commands.
 UnboundLocalError: local variable 'cmd_mgr' referenced before assignment
 }}}

 The first line of output is correct, but we want to avoid the
 !UnboundLocalError.

 Discovered while working on #756 and #757.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/762>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to