Skip to content

Commit

Permalink
used del instead of pop, removed unused pprint import
Browse files Browse the repository at this point in the history
Conflicts:
	lib/ansible/modules/core
	lib/ansible/modules/extras
  • Loading branch information
bcoca committed Nov 20, 2014
1 parent 11b6341 commit 0ba2298
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/ansible-galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def execute_info(args, options, parser):
if install_info:
if 'version' in install_info:
install_info['intalled_version'] = install_info['version']
install_info.pop('version', None)
del install_info['version']
role_info.update(install_info)

remote_data = api_lookup_role_by_name(api_server, role, False)
Expand All @@ -714,7 +714,6 @@ def execute_info(args, options, parser):

if role_info:
print "- %s:" % (role)
import pprint
for k in sorted(role_info.keys()):

if k in SKIP_INFO_KEYS:
Expand Down

0 comments on commit 0ba2298

Please sign in to comment.