mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-16 10:00:39 +00:00
10 lines
139 B
Python
10 lines
139 B
Python
def raises(err, lamda):
|
|
try:
|
|
lamda()
|
|
return False
|
|
except err:
|
|
return True
|
|
|
|
|
|
no_default = '__no__default__'
|