Fixed pep8 issues.
This commit is contained in:
parent
d88594ef8a
commit
d7cb02b54e
5
setup.py
5
setup.py
@ -19,12 +19,14 @@ from setuptools.command.sdist import sdist
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
||||
class local_sdist(sdist):
|
||||
"""Customized sdist hook - builds the ChangeLog file from VC first"""
|
||||
|
||||
def run(self):
|
||||
if os.path.isdir('.bzr'):
|
||||
# We're in a bzr branch
|
||||
|
||||
log_cmd = subprocess.Popen(["bzr", "log", "--gnu"],
|
||||
stdout=subprocess.PIPE)
|
||||
changelog = log_cmd.communicate()[0]
|
||||
@ -70,5 +72,4 @@ setup(
|
||||
'bin/swift-object-server',
|
||||
'bin/swift-object-updater', 'bin/swift-proxy-server',
|
||||
'bin/swift-ring-builder', 'bin/swift-stats-populate',
|
||||
'bin/swift-stats-report']
|
||||
)
|
||||
'bin/swift-stats-report'])
|
||||
|
Loading…
Reference in New Issue
Block a user