mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
errors now print to stderr
This commit is contained in:
@@ -90,8 +90,7 @@ except ImportError:
|
|||||||
try:
|
try:
|
||||||
import libbrook
|
import libbrook
|
||||||
except:
|
except:
|
||||||
print('Brook.io inventory script requires libbrook. See https://github.com/doalitic/libbrook')
|
sys.exit('Brook.io inventory script requires libbrook. See https://github.com/doalitic/libbrook')
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
class BrookInventory:
|
class BrookInventory:
|
||||||
|
|||||||
Reference in New Issue
Block a user