shithub: pokecrystal

Download patch

ref: 914470651080df7cf0bf36e3fa45ed299dd694ec
parent: 376f65a4fd13eb1cdd3286d9edc2401539a4c896
author: Bryan Bishop <[email protected]>
date: Sat Jun 2 07:42:09 EDT 2012

make unittest2 error show up in stderr

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -21,7 +21,7 @@
 
 # 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"):