From 7ae5fbd1e6d995863805678d85cf4a5fb4ed91bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 20 Oct 2017 09:37:41 +0200 Subject: Fix FTBFS with SCons 3.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit ef18cc16faccdac7bee9a7e2c2cbaf4a0eaf30f1) --- doc/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/SConscript b/doc/SConscript index 0f5f215..9c3bbe5 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -8,7 +8,7 @@ ## First load the environment set in the top-level SConstruct file Import( 'env' ) -myenv=env.Copy() +myenv=env.Clone() ## The following looks complicated but it is not ## We first define a function to install all files as documentation @@ -70,7 +70,7 @@ def processfolder(folder, lang, destination=""): if len(docbook_list) == 0: return if not os.path.isfile( folder+'index.docbook' ): - print "Error, index.docbook was not found in "+folder+'/index.docbook' + print("Error, index.docbook was not found in "+folder+'/index.docbook') return if i_am_a_documentation_writer: for file in docbook_list: -- cgit v1.2.1