Fixed pep8 issues.

This commit is contained in:
Monty Taylor 2010-07-28 16:02:51 -07:00
parent d88594ef8a
commit d7cb02b54e

View File

@ -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'])