typos wicd-cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned |
Bug Description
there are typos in the wicd-cli file that prevent it from working correctly:
-- Cannot show encryption types
-- Cannot save network
These can both be fixed with the follwing:
--- /usr/share/
+++ wicd-cli.py 2019-05-07 13:58:17.207323680 -0700
@@ -289,7 +289,7 @@
if len(prop) == 0:
return "None"
else:
- tmp = [(x[0], x[1].replace('_', ' ')) for x in type['required']]
+ tmp = [(x[0], x[1].replace('_', ' ')) for x in t['required']]
return ', '.join("%s (%s)" % (x, y) for x, y in tmp)
if options.wireless and options.
@@ -309,9 +309,9 @@
if options.save and options.network > -1:
if options.wireless:
- config.
+ wireless.
elif options.wired:
- config.
+ wired.SaveWired
op_performed = True
if not op_performed: