ensure 'check' & 'message' are initialized in cli/wicd-cli.py

Bug #867538 reported by David Cantrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
Fix Released
Medium
David Paleino

Bug Description

In the 'if options.connect:' block in the network properties section of cli/wicd-cli.py, ensure that 'check' and 'message' have a value. If the nested if or elif are not met, check and message will be undefined. They are referenced later and if they are undefined, you'll get a traceback. Tested on Fedora 15 with wicd 1.7.1b2.

Related branches

Revision history for this message
David Cantrell (david-l-cantrell) wrote :
David Paleino (dpaleino)
Changed in wicd:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → David Paleino (dpaleino)
milestone: none → 1.7.1
David Paleino (dpaleino)
Changed in wicd:
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.