aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-02-09 14:49:19 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-02-09 14:49:19 -0500
commit790486c38d8c3912b37ffdc326654de96dc0c862 (patch)
tree26df10b4c6850b3042a876ccca376d58218b702b
parentc7308a00fabc74f1a3315d676a7c93fff40d7224 (diff)
downloadexternal_python_setuptools-790486c38d8c3912b37ffdc326654de96dc0c862.tar.gz
external_python_setuptools-790486c38d8c3912b37ffdc326654de96dc0c862.tar.bz2
external_python_setuptools-790486c38d8c3912b37ffdc326654de96dc0c862.zip
Normalize indentation in docstrings and function params
-rw-r--r--ez_setup.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 784a69b1..65c92dc6 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -116,7 +116,7 @@ def _do_download(version, download_base, to_dir, download_delay):
def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
- to_dir=os.curdir, download_delay=15):
+ to_dir=os.curdir, download_delay=15):
to_dir = os.path.abspath(to_dir)
rep_modules = 'pkg_resources', 'setuptools'
imported = set(sys.modules).intersection(rep_modules)
@@ -261,9 +261,9 @@ def get_best_downloader():
return dl
def download_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
- to_dir=os.curdir, delay=15,
- downloader_factory=get_best_downloader):
- """Download setuptools from a specified location and return its filename
+ to_dir=os.curdir, delay=15, downloader_factory=get_best_downloader):
+ """
+ Download setuptools from a specified location and return its filename
`version` should be a valid setuptools version number that is available
as an egg for download under the `download_base` URL (which should end
@@ -287,11 +287,12 @@ def download_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
def _extractall(self, path=".", members=None):
- """Extract all members from the archive to the current working
- directory and set owner, modification time and permissions on
- directories afterwards. `path' specifies a different directory
- to extract to. `members' is optional and must be a subset of the
- list returned by getmembers().
+ """
+ Extract all members from the archive to the current working
+ directory and set owner, modification time and permissions on
+ directories afterwards. `path' specifies a different directory
+ to extract to. `members' is optional and must be a subset of the
+ list returned by getmembers().
"""
import copy
import operator