On 12/05/2013 10:07 AM, Lars Gullik Bjønnes wrote:
---
  development/autotests/keytest.py             | 112 ++--
  development/cmake/doc/ReplaceValues.py       |   4 +-
  development/cmake/po/cat.py                  |   2 +-
  development/keystest/cache-bisect.py         |  78 +--
  development/keystest/keytest.py              |  62 +--
  development/keystest/make_screenshot_html.py |  20 +-
  development/tools/convert_kmap.py            |  18 +-
  development/tools/generate_symbols_images.py |  14 +-
  development/tools/generate_symbols_list.py   |  28 +-
  development/tools/unicodesymbols.py          |   2 +-
  lib/configure.py                             |  14 +-
  lib/generate_contributions.py                | 786 +++++++++++++--------------
  lib/lyx2lyx/LyX.py                           |   8 +-
  lib/lyx2lyx/generate_encoding_info.py        |   8 +-
  lib/lyx2lyx/lyx2lyx_tools.py                 |   2 +-
  lib/lyx2lyx/lyx_1_2.py                       |   6 +-
  lib/lyx2lyx/lyx_1_4.py                       |   4 +-
  lib/lyx2lyx/lyx_1_5.py                       |  70 +--
  lib/lyx2lyx/lyx_1_6.py                       |  10 +-
  lib/lyx2lyx/lyx_2_1.py                       |  24 +-
  lib/lyx2lyx/parser_tools.py                  |  12 +-
  lib/lyx2lyx/unicode_symbols.py               |   6 +-
  lib/scripts/TeXFiles.py                      |  10 +-
  lib/scripts/convertDefault.py                |   4 +-
  lib/scripts/date.py                          |   2 +-
  lib/scripts/fen2ascii.py                     |   8 +-
  lib/scripts/fig2pdftex.py                    |   6 +-
  lib/scripts/fig2pstex.py                     |   2 +-
  lib/scripts/fig_copy.py                      |   8 +-
  lib/scripts/html2latexwrapper.py             |   2 +-
  lib/scripts/include_bib.py                   |   8 +-
  lib/scripts/legacy_lyxpreview2ppm.py         |   6 +-
  lib/scripts/lyxpak.py                        |   4 +-
  lib/scripts/lyxpreview2bitmap.py             |   6 +-
  lib/scripts/lyxpreview_tools.py              |   2 +-
  lib/scripts/prefs2prefs.py                   |  18 +-
  lib/scripts/prefs2prefs_prefs.py             |   4 +-
  po/lyx_pot.py                                |  74 +--
  po/postats.py                                |   6 +-
  src/tex2lyx/test/runtests.py                 |   2 +-
  40 files changed, 731 insertions(+), 731 deletions(-)

diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py
index a510a3f..5331348 100755
--- a/development/autotests/keytest.py
+++ b/development/autotests/keytest.py
@@ -16,7 +16,7 @@ import time
  #from subprocess import call
  import subprocess

-print 'Beginning keytest.py'
+print('Beginning keytest.py')

  FNULL = open('/dev/null', 'w')

@@ -78,7 +78,7 @@ class CommandSourceFromFile(CommandSource):
          self.infile.close()
          linesbak = self.lines
          self.p = p
-        print p, self.p, 'self.p'
+        print(p, self.p, 'self.p')

Is this intended to support both python 2 and 3? From a quick glance I do not see "from __future__ import print_function" anywhere.

--
Julien

Reply via email to