1
0
Fork 0
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:
Brian Coca 2016-04-25 11:43:54 -04:00
parent c131af6384
commit 783dc2f0f6

View file

@ -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: