aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-20 00:00:50 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-07-20 00:00:50 -0400
commitb9928121417a205e64f18b98f7d3cea05f41511b (patch)
treed9beddf784ed93dc8ccefc66b72d7701acef5299 /release.py
parent76d45c48ae73175e0aca44286c4323b631daac46 (diff)
downloadexternal_python_setuptools-b9928121417a205e64f18b98f7d3cea05f41511b.tar.gz
external_python_setuptools-b9928121417a205e64f18b98f7d3cea05f41511b.tar.bz2
external_python_setuptools-b9928121417a205e64f18b98f7d3cea05f41511b.zip
Add whitespace to remove linter warnings
--HG-- extra : rebase_source : 2f37f043a6cc87cc015efa318699bc09785dbd87
Diffstat (limited to 'release.py')
-rw-r--r--release.py3
1 files changed, 3 insertions, 0 deletions
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()