in response to comment #3 :
I agree with this comment , and I tested it successfully.
I saw what might be another flow : what is the purpose of the else: check = lambda: False status = lambda: False message = lambda: False
? as the script previously check that one of these 2 options is chosen
if not (options.wireless or options.wired): print "Please use --wireless or --wired to specify " + \ "the type of connection to operate on."
I believe this is some dead code.
in response to comment #3 :
I agree with this comment , and I tested it successfully.
I saw what might be another flow : what is the purpose of the
else:
check = lambda: False
status = lambda: False
message = lambda: False
? as the script previously check that one of these 2 options is chosen
if not (options.wireless or options.wired):
print "Please use --wireless or --wired to specify " + \
"the type of connection to operate on."
I believe this is some dead code.