errors now print to stderr

pull/15507/head
Brian Coca 9 years ago
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…
Cancel
Save