commit | 180ace6a5ff1399ec53bc696e8bef7cce6eef39a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 02:40:30 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 02:40:30 2013 -0500 |
tree | 45e3c9c7fa3ef0fdc74fd8c1bbb48de98841dfcd | |
parent | 2b06aaa2a6bcd363c25fb0c43f6bb906906594bd [diff] [blame] |
2to3 --fix=ne
diff --git a/Lib/fontTools/misc/sstruct.py b/Lib/fontTools/misc/sstruct.py index c9ab776..fe1711b 100644 --- a/Lib/fontTools/misc/sstruct.py +++ b/Lib/fontTools/misc/sstruct.py
@@ -139,7 +139,7 @@ m = _extraRE.match(line) if m: formatchar = m.group(1) - if formatchar <> 'x' and formatstring: + if formatchar != 'x' and formatstring: raise error, "a special format char must be first" else: m = _elementRE.match(line)