errors now print to stderr

pull/15507/head
Brian Coca 9 years ago
parent c131af6384
commit 783dc2f0f6

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

Loading…
Cancel
Save