summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-06 03:12:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-06 03:12:54 (GMT)
commitf03149b32d1bb216bdfcc5352102982eed19f6e0 (patch)
tree68cd3237c0beb3283e3080a719bb0d1016f614bd /src
parent3a8855a675cf57b50be3ca8deb1955f531cd7983 (diff)
downloadSCons-f03149b32d1bb216bdfcc5352102982eed19f6e0.zip
SCons-f03149b32d1bb216bdfcc5352102982eed19f6e0.tar.gz
SCons-f03149b32d1bb216bdfcc5352102982eed19f6e0.tar.bz2
py2/3 Remove pdf from list of files to scan. This was causing errors as the binary files can't be regexed with strings on py3. A more complete solution may be called for as it likely doesn't make sense to try to scan: '.png', '.jpg', '.gif', '.tif' files either.
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Scanner/LaTeX.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/SCons/Scanner/LaTeX.py b/src/engine/SCons/Scanner/LaTeX.py
index 0c54bf3..e5abb0c 100644
--- a/src/engine/SCons/Scanner/LaTeX.py
+++ b/src/engine/SCons/Scanner/LaTeX.py
@@ -37,7 +37,9 @@ import SCons.Util
# list of graphics file extensions for TeX and LaTeX
TexGraphics = ['.eps', '.ps']
-LatexGraphics = ['.pdf', '.png', '.jpg', '.gif', '.tif']
+#LatexGraphics = ['.pdf', '.png', '.jpg', '.gif', '.tif']
+LatexGraphics = [ '.png', '.jpg', '.gif', '.tif']
+
# Used as a return value of modify_env_var if the variable is not set.
class _Null(object):
@@ -397,6 +399,7 @@ class LaTeX(SCons.Scanner.Base):
include = queue.pop()
inc_type, inc_subdir, inc_filename = include
+
try:
if seen[inc_filename] == 1:
continue