mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
errors now print to stderr
This commit is contained in:
parent
c131af6384
commit
783dc2f0f6
1 changed files with 1 additions and 2 deletions
|
@ -90,8 +90,7 @@ except ImportError:
|
|||
try:
|
||||
import libbrook
|
||||
except:
|
||||
print('Brook.io inventory script requires libbrook. See https://github.com/doalitic/libbrook')
|
||||
sys.exit(1)
|
||||
sys.exit('Brook.io inventory script requires libbrook. See https://github.com/doalitic/libbrook')
|
||||
|
||||
|
||||
class BrookInventory:
|
||||
|
|
Loading…
Reference in a new issue