From: W. Trevor King Date: Thu, 10 Nov 2011 20:39:12 +0000 (-0500) Subject: Use sys.stderr.write instead of the deprecated 'print >>' syntax in the tutorial... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f7381a37aedac943bf8a25fbc6483ed9529b789;p=hooke.git Use sys.stderr.write instead of the deprecated 'print >>' syntax in the tutorial plugin. --- 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__