mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Use 'except ... as' syntax in contrib/ and test/ too
This commit is contained in:
@@ -175,5 +175,5 @@ if __name__ == '__main__':
|
||||
filters = {"tag:Name":opts.match_re.replace('^',''), "instance-state-name": ['running', 'pending', 'stopped' ]}
|
||||
delete_aws_instances(aws.get_all_instances(filters=filters), opts)
|
||||
|
||||
except KeyboardInterrupt, e:
|
||||
except KeyboardInterrupt as e:
|
||||
print "\nExiting on user command."
|
||||
|
||||
Reference in New Issue
Block a user