commit | bc5e1cb195c0bfa1c8e7507326d5a9ad05aecb4b | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 02:33:03 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 02:33:03 2013 -0500 |
tree | 37eca40a709b001051af935030802a758ca17a4e | |
parent | 553c3bbe4e7f5cb075c93aedb34c96efeea262ea [diff] [blame] |
2to3 --fix=has_key
diff --git a/Lib/fontTools/agl.py b/Lib/fontTools/agl.py index c56ab81..a3ed285 100644 --- a/Lib/fontTools/agl.py +++ b/Lib/fontTools/agl.py
@@ -724,7 +724,7 @@ assert len(unicode) == 4 unicode = int(unicode, 16) glyphName = m.group(2) - if AGL2UV.has_key(glyphName): + if glyphName in AGL2UV: # the above table contains identical duplicates assert AGL2UV[glyphName] == unicode else: