diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-04-30 17:38:29 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-04-30 17:38:29 -0400 |
commit | 573c2c86d4d4f506a87a1fc16060f32c1386ad38 (patch) | |
tree | d8e3e14b773461dc4e555ff76d9c6180f958cee0 /setuptools/command/sdist.py | |
parent | 0f0c892487277e25ce79a39477b193822f1edf79 (diff) | |
download | external_python_setuptools-573c2c86d4d4f506a87a1fc16060f32c1386ad38.tar.gz external_python_setuptools-573c2c86d4d4f506a87a1fc16060f32c1386ad38.tar.bz2 external_python_setuptools-573c2c86d4d4f506a87a1fc16060f32c1386ad38.zip |
Correct indentation and clarify meaning by using namespacing
--HG--
extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-x | setuptools/command/sdist.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index 76e1c5f1..948d27fa 100755 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -4,7 +4,7 @@ import sys from glob import glob import pkg_resources -from distutils.command.sdist import sdist as _sdist +import distutils.command.sdist as orig from distutils.util import convert_path from distutils import log from setuptools import svn_utils @@ -72,7 +72,7 @@ finders = [ ] -class sdist(_sdist): +class sdist(orig.sdist): """Smart sdist that finds anything supported by revision control""" user_options = [ @@ -119,7 +119,7 @@ class sdist(_sdist): # Doing so prevents an error when easy_install attempts to delete the # file. try: - _sdist.read_template(self) + orig.sdist.read_template(self) except: sys.exc_info()[2].tb_next.tb_frame.f_locals['template'].close() raise @@ -197,7 +197,7 @@ class sdist(_sdist): ) def make_release_tree(self, base_dir, files): - _sdist.make_release_tree(self, base_dir, files) + orig.sdist.make_release_tree(self, base_dir, files) # Save any egg_info command line options used to create this sdist dest = os.path.join(base_dir, 'setup.cfg') |