Commit 2e1ca965 authored by stepshal's avatar stepshal

Remove whitespace around parameter '=' sign.

parent 8e80ee74
...@@ -18,9 +18,9 @@ def run(): ...@@ -18,9 +18,9 @@ def run():
__builtins__ __builtins__
script_name = sys.argv[1] script_name = sys.argv[1]
namespace = dict( namespace = dict(
__file__ = script_name, __file__=script_name,
__name__ = '__main__', __name__='__main__',
__doc__ = None, __doc__=None,
) )
sys.argv[:] = sys.argv[1:] sys.argv[:] = sys.argv[1:]
......
...@@ -27,7 +27,7 @@ class DistutilsRefactoringTool(RefactoringTool): ...@@ -27,7 +27,7 @@ class DistutilsRefactoringTool(RefactoringTool):
class Mixin2to3(_Mixin2to3): class Mixin2to3(_Mixin2to3):
def run_2to3(self, files, doctests = False): def run_2to3(self, files, doctests=False):
# See of the distribution option has been set, otherwise check the # See of the distribution option has been set, otherwise check the
# setuptools default. # setuptools default.
if self.distribution.use_2to3 is not True: if self.distribution.use_2to3 is not True:
......
...@@ -94,7 +94,7 @@ def distros_for_url(url, metadata=None): ...@@ -94,7 +94,7 @@ def distros_for_url(url, metadata=None):
match = EGG_FRAGMENT.match(fragment) match = EGG_FRAGMENT.match(fragment)
if match: if match:
for dist in interpret_distro_name( for dist in interpret_distro_name(
url, match.group(1), metadata, precedence = CHECKOUT_DIST url, match.group(1), metadata, precedence=CHECKOUT_DIST
): ):
yield dist yield dist
...@@ -158,8 +158,8 @@ def interpret_distro_name( ...@@ -158,8 +158,8 @@ def interpret_distro_name(
for p in range(1, len(parts)+1): for p in range(1, len(parts)+1):
yield Distribution( yield Distribution(
location, metadata, '-'.join(parts[:p]), '-'.join(parts[p:]), location, metadata, '-'.join(parts[:p]), '-'.join(parts[p:]),
py_version=py_version, precedence = precedence, py_version=py_version, precedence=precedence,
platform = platform platform=platform
) )
......
...@@ -131,8 +131,8 @@ class TestDistro: ...@@ -131,8 +131,8 @@ class TestDistro:
self.dist = makeSetup( self.dist = makeSetup(
packages=['a', 'a.b', 'a.b.c', 'b', 'c'], packages=['a', 'a.b', 'a.b.c', 'b', 'c'],
py_modules=['b.d', 'x'], py_modules=['b.d', 'x'],
ext_modules = (self.e1, self.e2), ext_modules=(self.e1, self.e2),
package_dir = {}, package_dir={},
) )
def testDistroType(self): def testDistroType(self):
...@@ -225,15 +225,15 @@ class TestFeatures: ...@@ -225,15 +225,15 @@ class TestFeatures:
), ),
'baz': Feature( 'baz': Feature(
"baz", optional=False, packages=['pkg.baz'], "baz", optional=False, packages=['pkg.baz'],
scripts = ['scripts/baz_it'], scripts=['scripts/baz_it'],
libraries=[('libfoo', 'foo/foofoo.c')] libraries=[('libfoo', 'foo/foofoo.c')]
), ),
'dwim': Feature("DWIM", available=False, remove='bazish'), 'dwim': Feature("DWIM", available=False, remove='bazish'),
}, },
script_args=['--without-bar', 'install'], script_args=['--without-bar', 'install'],
packages = ['pkg.bar', 'pkg.foo'], packages=['pkg.bar', 'pkg.foo'],
py_modules = ['bar_et', 'bazish'], py_modules=['bar_et', 'bazish'],
ext_modules = [Extension('bar.ext', ['bar.c'])] ext_modules=[Extension('bar.ext', ['bar.c'])]
) )
def testDefaults(self): def testDefaults(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment