Skip to content

Commit

Permalink
Merge pull request ansible#9299 from weargoggles/quoted-comment
Browse files Browse the repository at this point in the history
Remove no-op string declaration
  • Loading branch information
mpdehaan committed Oct 13, 2014
2 parents e6bf1f5 + 0953322 commit 1831ca3
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions bin/ansible
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,6 @@ class Cli(object):

pattern = args[0]

"""
inventory_manager = inventory.Inventory(options.inventory)
if options.subset:
inventory_manager.subset(options.subset)
hosts = inventory_manager.list_hosts(pattern)
if len(hosts) == 0:
callbacks.display("No hosts matched", stderr=True)
sys.exit(0)
if options.listhosts:
for host in hosts:
callbacks.display(' %s' % host)
sys.exit(0)
if ((options.module_name == 'command' or options.module_name == 'shell')
and not options.module_args):
callbacks.display("No argument passed to %s module" % options.module_name, color='red', stderr=True)
sys.exit(1)
"""

sshpass = None
sudopass = None
su_pass = None
Expand Down

0 comments on commit 1831ca3

Please sign in to comment.