diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-03 23:09:46 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-03 23:09:46 -0400 |
commit | ff75a6cbdbcde8d9e3b979c30c3d6e64a1bc5374 (patch) | |
tree | 6bc72488f8f69a175fcfd3540f0a3ac701b244f5 /setuptools/command/alias.py | |
parent | b33cf3e333837cf2fa04af79bcd46094a047741b (diff) | |
download | external_python_setuptools-ff75a6cbdbcde8d9e3b979c30c3d6e64a1bc5374.tar.gz external_python_setuptools-ff75a6cbdbcde8d9e3b979c30c3d6e64a1bc5374.tar.bz2 external_python_setuptools-ff75a6cbdbcde8d9e3b979c30c3d6e64a1bc5374.zip |
Copy changes from 1aae1efe5733 for setuptools/command/* (except easy_install.py
--HG--
branch : Setuptools-Distribute merge
extra : source : 0c89fbb19c269ce1cb3bc3e9ece9864127768169
Diffstat (limited to 'setuptools/command/alias.py')
-rwxr-xr-x | setuptools/command/alias.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/alias.py b/setuptools/command/alias.py index f5368b29..40c00b55 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" |