mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852)
This commit is contained in:
parent
2d0e9cd75d
commit
658c15930e
27 changed files with 118 additions and 118 deletions
|
@ -68,7 +68,7 @@ class LookupModule(object):
|
|||
paramvals['chars'] = use_chars
|
||||
else:
|
||||
paramvals[name] = value
|
||||
except (ValueError, AssertionError) as e:
|
||||
except (ValueError, AssertionError), e:
|
||||
raise errors.AnsibleError(e)
|
||||
|
||||
length = paramvals['length']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue