From 8f7381a37aedac943bf8a25fbc6483ed9529b789 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 10 Nov 2011 15:39:12 -0500 Subject: [PATCH] Use sys.stderr.write instead of the deprecated 'print >>' syntax in the tutorial plugin. --- hooke/plugin/tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/plugin/tutorial.py b/hooke/plugin/tutorial.py index 7e0084a..4dd32b7 100644 --- a/hooke/plugin/tutorial.py +++ b/hooke/plugin/tutorial.py @@ -66,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 >> sys.stderr, 'I am the Tutorial plugin initialization!' + sys.stderr.write('I am the Tutorial plugin initialization!\n') # This super() call similar to the old-style # Plugin.__init__ -- 2.26.2