Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83185 - website/public_html/beta/site-tools/boost_site
From: dnljms_at_[hidden]
Date: 2013-02-27 04:18:41


Author: danieljames
Date: 2013-02-27 04:18:38 EST (Wed, 27 Feb 2013)
New Revision: 83185
URL: http://svn.boost.org/trac/boost/changeset/83185

Log:
Website: Python 3 compatibility.
Text files modified:
   website/public_html/beta/site-tools/boost_site/boostbook_parser.py | 2 +-
   website/public_html/beta/site-tools/boost_site/upgrade.py | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/site-tools/boost_site/boostbook_parser.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/boostbook_parser.py (original)
+++ website/public_html/beta/site-tools/boost_site/boostbook_parser.py 2013-02-27 04:18:38 EST (Wed, 27 Feb 2013)
@@ -181,7 +181,7 @@
         }
 
         if role not in tags:
- print "Warning: Unknown emphasis role: " + role
+ print("Warning: Unknown emphasis role: " + role)
             role = ''
 
         return self.new_node(tags[role],

Modified: website/public_html/beta/site-tools/boost_site/upgrade.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/upgrade.py (original)
+++ website/public_html/beta/site-tools/boost_site/upgrade.py 2013-02-27 04:18:38 EST (Wed, 27 Feb 2013)
@@ -10,7 +10,7 @@
 #
 
 def upgrade_old():
- print "Old, unsupported data version."
+ print("Old, unsupported data version.")
     return False
 
 versions = [upgrade_old] * 4


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk