From a31410a54b0e756c3ee27f2bcfe2dd6301968c77 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 9 Feb 2014 18:41:55 -0500 Subject: Remove excess whitespace and unused imports. --- setuptools/command/alias.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'setuptools/command/alias.py') diff --git a/setuptools/command/alias.py b/setuptools/command/alias.py index 52384e1a..465d6ae4 100755 --- a/setuptools/command/alias.py +++ b/setuptools/command/alias.py @@ -1,7 +1,3 @@ -import distutils, os -from setuptools import Command -from distutils.util import convert_path -from distutils import log from distutils.errors import * from setuptools.command.setopt import edit_config, option_base, config_file @@ -11,17 +7,17 @@ def shquote(arg): if c in arg: return repr(arg) if arg.split() != [arg]: return repr(arg) - return arg + return arg class alias(option_base): """Define a shortcut that invokes one or more commands""" - + description = "define a shortcut to invoke one or more commands" command_consumes_arguments = True user_options = [ - ('remove', 'r', 'remove (unset) the alias'), + ('remove', 'r', 'remove (unset) the alias'), ] + option_base.user_options boolean_options = option_base.boolean_options + ['remove'] @@ -77,6 +73,3 @@ def format_alias(name, aliases): else: source = '--filename=%r' % source return source+name+' '+command - - - -- cgit v1.2.3