From b9928121417a205e64f18b98f7d3cea05f41511b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 20 Jul 2013 00:00:50 -0400 Subject: Add whitespace to remove linter warnings --HG-- extra : rebase_source : 2f37f043a6cc87cc015efa318699bc09785dbd87 --- release.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release.py') diff --git a/release.py b/release.py index 66350335..31cb64e4 100644 --- a/release.py +++ b/release.py @@ -13,6 +13,7 @@ try: except AttributeError: zip_longest = itertools.izip_longest + def before_upload(): _linkify('CHANGES.txt', 'CHANGES (links).txt') _add_bootstrap_bookmark() @@ -43,6 +44,7 @@ issue_urls = dict( python='http://bugs.python.org/issue{python}', ) + def _linkify(source, dest): pattern = '|'.join(link_patterns) with open(source) as source: @@ -50,6 +52,7 @@ def _linkify(source, dest): with open(dest, 'w') as dest: dest.write(out) + def replacer(match): text = match.group(0) match_dict = match.groupdict() -- cgit v1.2.1