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/bdist_rpm.py | |
| parent | 0f0c892487277e25ce79a39477b193822f1edf79 (diff) | |
| download | python-setuptools-git-573c2c86d4d4f506a87a1fc16060f32c1386ad38.tar.gz | |
Correct indentation and clarify meaning by using namespacing
--HG--
extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
Diffstat (limited to 'setuptools/command/bdist_rpm.py')
| -rwxr-xr-x | setuptools/command/bdist_rpm.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/bdist_rpm.py b/setuptools/command/bdist_rpm.py index c13732fa..99386824 100755 --- a/setuptools/command/bdist_rpm.py +++ b/setuptools/command/bdist_rpm.py @@ -1,6 +1,6 @@ -from distutils.command.bdist_rpm import bdist_rpm as _bdist_rpm +import distutils.command.bdist_rpm as orig -class bdist_rpm(_bdist_rpm): +class bdist_rpm(orig.bdist_rpm): """ Override the default bdist_rpm behavior to do the following: @@ -15,12 +15,12 @@ class bdist_rpm(_bdist_rpm): # ensure distro name is up-to-date self.run_command('egg_info') - _bdist_rpm.run(self) + orig.bdist_rpm.run(self) def _make_spec_file(self): version = self.distribution.get_version() rpmversion = version.replace('-','_') - spec = _bdist_rpm._make_spec_file(self) + spec = orig.bdist_rpm._make_spec_file(self) line23 = '%define version ' + version line24 = '%define version ' + rpmversion spec = [ |
