Commits

Hugo Lopes Tavares committed f77a56a

removed unused code

  • Participants
  • Parent commits 763ec78

Comments (0)

Files changed (1)

File pip/commands/completion.py

 
     def run(self, options, args):
         """Prints the completion code of the given shell"""
-        if options.shell in ('bash', 'zsh'):
-            script = COMPLETION_SCRIPTS.get(options.shell, '')
-            print BASE_COMPLETION % {'script': script, 'shell': options.shell}
-        else:
-            print 'ERROR: You must pass --bash or --zsh'
+        script = COMPLETION_SCRIPTS.get(options.shell, '')
+        print BASE_COMPLETION % {'script': script, 'shell': options.shell}
 
 CompletionCommand()