From 9af04bdc389e811e4d97187cf3be7a7f531b787b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 14 Oct 2011 12:15:38 -0400 Subject: Fixed error in do_release --HG-- branch : distribute extra : rebase_source : cc27ca582dfcc618e6adebc60d32532aed09b07e --- release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release.py') diff --git a/release.py b/release.py index 958d9373..b353156c 100644 --- a/release.py +++ b/release.py @@ -34,10 +34,10 @@ def do_release(): res = raw_input('Have you read through the SCM changelog and ' 'confirmed the changelog is current for releasing {VERSION}? ' .format(**globals())) - if not res.lower.startswith('y'): + if not res.lower().startswith('y'): print("Please do that") raise SystemExit(1) - + subprocess.check_call(['hg', 'tag', VERSION]) subprocess.check_call(['hg', 'update', VERSION]) -- cgit v1.2.3