Convert from "print ..." to "print(...)"
[hooke.git] / hooke / driver / jpk.py
index 2fd91c8b8d5ed3e557dd95e9928fc55cb4d1c3e1..368e5e0a11338712d9d05cef63c40b9c53cbb95c 100644 (file)
@@ -1,21 +1,20 @@
-# Copyright (C) 2008-2010 Massimo Sandal <devicerandom@gmail.com>
-#                         W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2008-2012 Massimo Sandal <devicerandom@gmail.com>
+#                         W. Trevor King <wking@tremily.us>
 #
 # 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/>.
 
 """Driver for JPK ForceRobot's velocity clamp data format.
 
@@ -56,10 +55,10 @@ def slash_join(*args):
 
     >>> sep = os.path.sep
     >>> os.path.sep = '/'
-    >>> print slash_join('abc', 'def/ghi', 'jkl\\mno')
+    >>> print(slash_join('abc', 'def/ghi', 'jkl\\mno'))
     abc/def/ghi/jkl\mno
     >>> os.path.sep = '\\'
-    >>> print slash_join('abc', 'def/ghi', 'jkl\\mno')
+    >>> print(slash_join('abc', 'def/ghi', 'jkl\\mno'))
     abc/def/ghi/jkl\mno
     >>> os.path.sep = sep