From 48044e3629bfd108fa6116ce844de8c8f8ffced0 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 11 Nov 2011 17:54:00 -0500 Subject: [PATCH] Fix multi-change confirmation testing. Change-Id: If779218e0baecd1f1d93b023206d9ce5a2429702 --- git-review | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-review b/git-review index 5cb2b34..d65ab36 100755 --- a/git-review +++ b/git-review @@ -294,7 +294,7 @@ def assert_one_change(remote, branch, yes): print "The outstanding commits are:\n\n%s\n" % output print "Is this really what you meant to do?" yes_no = raw_input("Type 'yes' to confirm: ") - if yes_no.lower != "yes": + if yes_no.lower().strip() != "yes": print "Aborting." print "Please rebase/squash your changes and try again" sys.exit(1)