From: Joerg Jaspert Date: Fri, 21 Mar 2008 20:45:01 +0000 (+0100) Subject: Merge from aj X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d09fa44171761953d04c94f57bafe3399a9154f2;hp=f77be3fe3afcc24b865ab043f1383483c46c3efc;p=dak.git Merge from aj --- diff --git a/dak/transitions.py b/dak/transitions.py index d1d62cdf..3cac07af 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -192,11 +192,11 @@ def edit_transitions(): 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) @@ -219,9 +219,9 @@ def edit_transitions(): 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)