exoscale / cs

A simple, yet powerful CloudStack API client for python and the command-line.
BSD 3-Clause "New" or "Revised" License
88 stars 36 forks source link

Print error-related messages to stderr. #2

Closed vincentbernat closed 10 years ago

vincentbernat commented 10 years ago

This ensures that we only get JSON data when redirecting the output to a file.

vincentbernat commented 10 years ago

Hummm, doesn't work with python2...

brutasse commented 10 years ago

We should probably use sys.std(out|err).write() instead

vincentbernat commented 10 years ago

For some reason, I didn't receive a notification about your answer... I am updating the PR.

brutasse commented 10 years ago

:metal: