diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-15 00:28:12 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-15 00:28:12 (GMT) |
commit | f43752eead80a30e8834847d64fc09462803c540 (patch) | |
tree | e51d4eb9b61c6ac759a7757cea8a17fc7506763f /src | |
parent | 548aa56572dce2746b944b1910f5ab5698ec675f (diff) | |
download | SCons-f43752eead80a30e8834847d64fc09462803c540.zip SCons-f43752eead80a30e8834847d64fc09462803c540.tar.gz SCons-f43752eead80a30e8834847d64fc09462803c540.tar.bz2 |
Convert old-style classes in Scanner/LaTeX.py to new-style classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Scanner/LaTeX.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/Scanner/LaTeX.py b/src/engine/SCons/Scanner/LaTeX.py index 9ea450b..d3c5c9a 100644 --- a/src/engine/SCons/Scanner/LaTeX.py +++ b/src/engine/SCons/Scanner/LaTeX.py @@ -40,7 +40,7 @@ TexGraphics = ['.eps', '.ps'] LatexGraphics = ['.pdf', '.png', '.jpg', '.gif', '.tif'] # Used as a return value of modify_env_var if the variable is not set. -class _Null: +class _Null(object): pass _null = _Null @@ -75,7 +75,7 @@ def modify_env_var(env, var, abspath): return save -class FindENVPathDirs: +class FindENVPathDirs(object): """A class to bind a specific *PATH variable name to a function that will return all of the *path directories.""" def __init__(self, variable): @@ -178,7 +178,7 @@ class LaTeX(SCons.Scanner.Base): return [] return self.scan_recurse(node, path) - class FindMultiPathDirs: + class FindMultiPathDirs(object): """The stock FindPathDirs function has the wrong granularity: it is called once per target, while we need the path that depends on what kind of included files is being searched. This wrapper @@ -206,7 +206,7 @@ class LaTeX(SCons.Scanner.Base): # To prevent "dict is not hashable error" return tuple(di.items()) - class LaTeXScanCheck: + class LaTeXScanCheck(object): """Skip all but LaTeX source files, i.e., do not scan *.eps, *.pdf, *.jpg, etc. """ |