errors now print to stderr
This commit is contained in:
parent
c131af6384
commit
783dc2f0f6
|
@ -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