Reply to comment

confirmation question bug

deb2flash.py, Last Modified: 28 Aug 2007 10:57:27 AM by root

Line 379...:
print "require reinstalling it. Use this version at your own risk."
continue_test = raw_input("continue? (yes/NO) ")
if continue_test.lower() == "yes" or continue_test.lower() == 'y' :
print "Continuation confirmation not recieved, Bailing out."
sys.exit(0)

The logic is inverted, i have to type something different to "yes" or "y"

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options