projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
034303a
)
Use sys.stderr.write instead of the deprecated 'print >>' syntax in the tutorial...
author
W. Trevor King
<wking@drexel.edu>
Thu, 10 Nov 2011 20:39:12 +0000
(15:39 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 10 Nov 2011 20:39:12 +0000
(15:39 -0500)
hooke/plugin/tutorial.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/tutorial.py
b/hooke/plugin/tutorial.py
index 7e0084a684dc95dee32966a5c015e1110268a0c3..4dd32b7406c2db9a8f37240173fc7ea0b86ae0ab 100644
(file)
--- 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__