mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-07-06 09:00:58 +02: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__'
|