aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-05-19 22:52:40 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-05-19 22:52:40 -0400
commit0b0d47d267599d19e5ac5ce442c7f9c92bd1177d (patch)
tree34d1e284f4db6fcfe9600b17d21c0db14a4e7a74 /release.py
parent289b359721b9a717984c5200d7d5adbfccc8da20 (diff)
downloadexternal_python_setuptools-0b0d47d267599d19e5ac5ce442c7f9c92bd1177d.tar.gz
external_python_setuptools-0b0d47d267599d19e5ac5ce442c7f9c92bd1177d.tar.bz2
external_python_setuptools-0b0d47d267599d19e5ac5ce442c7f9c92bd1177d.zip
Delint release script
--HG-- branch : distribute
Diffstat (limited to 'release.py')
-rw-r--r--release.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release.py b/release.py
index 8a3af24f..ad4070a1 100644
--- a/release.py
+++ b/release.py
@@ -69,7 +69,7 @@ def add_milestone_and_version(version=NEXT_VERSION):
auth = 'Basic ' + ':'.join(get_mercurial_creds()).encode('base64').strip()
headers = {
'Authorization': auth,
- }
+ }
base = 'https://api.bitbucket.org'
for type in 'milestones', 'versions':
url = (base + '/1.0/repositories/{repo}/issues/{type}'
@@ -159,14 +159,14 @@ def build_docs():
return
if os.path.isdir('docs/build'):
shutil.rmtree('docs/build')
- subprocess.check_call([
+ cmd = [
'sphinx-build',
'-b', 'html',
'-d', 'build/doctrees',
'.',
'build/html',
- ],
- cwd='docs')
+ ]
+ subprocess.check_call(cmd, cwd='docs')
return True
def upload_bootstrap_script():