Print tutorial init message to stderr so it won't interfere with doctests.
[hooke.git] / hooke / plugin / tutorial.py
index 08b48f954cadf4a9beca4f37e4e19ad6c4f3f8a2..26ef38ea80b98947802859e3a90ac2615c7703d7 100644 (file)
@@ -23,6 +23,7 @@ Hooke plugin, including description of main Hooke internals.
 
 import logging
 import StringIO
+import sys
 
 from numpy import arange
 
@@ -65,7 +66,7 @@ class TutorialPlugin (Plugin):
         # the plugin is loaded, this function is executed.  If there
         # is something you need to do when Hooke starts, code it in
         # this function.
-        print 'I am the Tutorial plugin initialization!'
+        print >> sys.stderr, 'I am the Tutorial plugin initialization!'
 
         # This super() call similar to the old-style
         #   Plugin.__init__