Run update-copyright.py.
[hooke.git] / hooke / plugin / tutorial.py
index ecc9af52d9cb17c7b070309087ca5a0b9b9c7e7f..00d12e9cd7b4e43100428dac6652ec39ac0c7263 100644 (file)
@@ -1,21 +1,20 @@
-# Copyright (C) 2007-2010 Massimo Sandal <devicerandom@gmail.com>
+# Copyright (C) 2007-2012 Massimo Sandal <devicerandom@gmail.com>
 #                         W. Trevor King <wking@drexel.edu>
 #
 # This file is part of Hooke.
 #
-# Hooke is free software: you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
+# Hooke is free software: you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
 #
-# Hooke is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
-# Public License for more details.
+# Hooke is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+# details.
 #
-# You should have received a copy of the GNU Lesser General Public
-# License along with Hooke.  If not, see
-# <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Lesser General Public License
+# along with Hooke.  If not, see <http://www.gnu.org/licenses/>.
 
 """This plugin contains example commands to teach how to write an
 Hooke plugin, including description of main Hooke internals.
@@ -66,7 +65,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__