diff options
-rw-r--r-- | debian/patches/0110-remove_stale_files.patch | 4 | ||||
-rw-r--r-- | debian/patches/0120-fix-bibtex-call.patch | 4 |
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: |