diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-19 22:52:40 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-19 22:52:40 -0400 |
commit | 0b0d47d267599d19e5ac5ce442c7f9c92bd1177d (patch) | |
tree | 34d1e284f4db6fcfe9600b17d21c0db14a4e7a74 /release.py | |
parent | 289b359721b9a717984c5200d7d5adbfccc8da20 (diff) | |
download | external_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.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(): |