summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-06-02 11:42:09 -0500
committerBryan Bishop <kanzure@gmail.com>2012-06-02 11:42:09 -0500
commit914470651080df7cf0bf36e3fa45ed299dd694ec (patch)
tree72a51262b7346056d9c0696018c2f4e96fcf8f56 /extras/crystal.py
parent376f65a4fd13eb1cdd3286d9edc2401539a4c896 (diff)
make unittest2 error show up in stderr
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index 820e4c258..6f6ba09a1 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -21,7 +21,7 @@ import string
# Check for things we need in unittest.
if not hasattr(unittest.TestCase, 'setUpClass'):
- print "The unittest2 module or Python 2.7 is required to run this script."
+ sys.stderr.write("The unittest2 module or Python 2.7 is required to run this script.")
sys.exit(1)
if not hasattr(json, "dumps"):