aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/alias.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:45:38 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:45:38 +0100
commit8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc (patch)
tree199a8e4792f87c951fcf82197061c35e5805d100 /setuptools/command/alias.py
parent744a61f18bbfcbf7dfaa08886185b4595d8b7bcb (diff)
parent5d9d3930f400a754f38be2a4de21a7f9ed00f5f4 (diff)
downloadexternal_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.tar.gz
external_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.tar.bz2
external_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.zip
Merged upstream changes.
--HG-- branch : single-codebase
Diffstat (limited to 'setuptools/command/alias.py')
-rwxr-xr-xsetuptools/command/alias.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/alias.py b/setuptools/command/alias.py
index 4c08c48d..52384e1a 100755
--- a/setuptools/command/alias.py
+++ b/setuptools/command/alias.py
@@ -9,7 +9,7 @@ def shquote(arg):
"""Quote an argument for later parsing by shlex.split()"""
for c in '"', "'", "\\", "#":
if c in arg: return repr(arg)
- if arg.split()!=[arg]:
+ if arg.split() != [arg]:
return repr(arg)
return arg
@@ -33,7 +33,7 @@ class alias(option_base):
def finalize_options(self):
option_base.finalize_options(self)
- if self.remove and len(self.args)!=1:
+ if self.remove and len(self.args) != 1:
raise DistutilsOptionError(
"Must specify exactly one argument (the alias name) when "
"using --remove"