summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-01 13:22:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-01 13:22:57 +0200
commit3bab2962eecc24c19366692e52ebca5eb835d117 (patch)
treeaa7e983f81ffe2090fa31869b6670bf18bcc28a0
parentbd6e1a190712d0d857cdc659a5824c5e08ea0f83 (diff)
Rewrite patches (print syntax)
-rw-r--r--debian/patches/0110-remove_stale_files.patch4
-rw-r--r--debian/patches/0120-fix-bibtex-call.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/0110-remove_stale_files.patch b/debian/patches/0110-remove_stale_files.patch
index 0fd1a6a..b3a94d2 100644
--- a/debian/patches/0110-remove_stale_files.patch
+++ b/debian/patches/0110-remove_stale_files.patch
@@ -18,10 +18,10 @@ Index: trunk/engine/SCons/Script/Main.py
+ for path in ('.sconsign.dblite', '.sconf_temp'):
+ try:
+ if os.path.isfile(path):
-+ print 'Removing autogenerated file %s' % path
++ print ('Removing autogenerated file %s' % (path))
+ os.remove(path)
+ if os.path.isdir(path):
-+ print 'Removing autogenerated directory %s' % path
++ print ('Removing autogenerated directory %s' % (path))
+ shutil.rmtree(path)
+ except OSError:
+ pass
diff --git a/debian/patches/0120-fix-bibtex-call.patch b/debian/patches/0120-fix-bibtex-call.patch
index 703ddaf..0bdbee8 100644
--- a/debian/patches/0120-fix-bibtex-call.patch
+++ b/debian/patches/0120-fix-bibtex-call.patch
@@ -15,7 +15,7 @@ Index: trunk/engine/SCons/Tool/tex.py
check_file_error_message(env['BIBTEX'], 'blg')
must_rerun_latex = True
+ if Verbose:
-+ print "Need to run bibtex on ",auxfilename
++ print ("Need to run bibtex on " + auxfilename)
+ bibfile = env.fs.File(SCons.Util.splitext(target_aux)[0])
+ result = BibTeXAction(bibfile, bibfile, env)
+ if result != 0:
@@ -29,7 +29,7 @@ Index: trunk/engine/SCons/Tool/tex.py
check_file_error_message(env['BIBER'], 'blg')
must_rerun_latex = True
+ if Verbose:
-+ print "Need to run biber on ",bcffilename
++ print ("Need to run biber on " + bcffilename)
+ bibfile = env.fs.File(SCons.Util.splitext(target_bcf)[0])
+ result = BiberAction(bibfile, bibfile, env)
+ if result != 0: