Crash on invalid command line

Bug #182220 reported by Scott Severance
2
Affects Status Importance Assigned to Milestone
Falcon
Fix Released
Undecided
Unassigned

Bug Description

I stumbled on the following (rather unimportant) crash when I entered an invalid command by mistake:

~:$ falcon --component main/misc scan
Falcon repository manager 2.0.4 (C)2005-2008 Dennis Kaarsemaker <email address hidden>

 === ERROR! ===

An error occured in falcon. This is probably a bug in the software.
Please file a bug at https://launchpad.net/falcon/+filebug and
include the following backtrace:

Traceback (most recent call last):
  File "/usr/bin/falcon", line 87, in ?
    falcon.conf.set_options(options, action!='iso', action)
  File "/usr/lib/python2.4/site-packages/falcon/config.py", line 160, in set_options
    error(_("You need to specify both pocket and component (or neither)"))
NameError: global name 'error' is not defined

Changed in falcon:
status: New → Fix Committed
Changed in falcon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.