if test == None:
# Edit is broken
- print "Edit was unparsable."
+ print "Edit was unparsable."
prompt = "[E]dit again, Drop changes?"
- default = "E"
- else:
- print "Edit looks okay.\n"
+ default = "E"
+ else:
+ print "Edit looks okay.\n"
print "------------------------------------------------------------------------"
transition_info(test)
elif answer == 'S':
# Ready to save
break
- else:
- print "You pressed something you shouldn't have :("
- sys.exit(1)
+ else:
+ print "You pressed something you shouldn't have :("
+ sys.exit(1)
# We seem to be done and also have a working file. Copy over.
write_transitions_from_file(edit_file)