pdfviewer: explicitely use set, instead of dictionary, fails to compile in some versions of python.

Review URL: https://codereview.chromium.org/19804010

git-svn-id: http://skia.googlecode.com/svn/trunk@10320 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
edisonn@google.com 2013-07-24 17:51:27 +00:00
parent 43f2b2c833
commit 0449a569b9

View File

@ -3,6 +3,7 @@
import sys
import re
from sets import Set
# TODO(edisonn): put processed part of file in a new file
# put unprocessed part, in a new file, so we see what we miss
@ -24,7 +25,7 @@ columnValues = None
mustFollowTableHeader = False
emitedDitionaryName = ''
knownTypes = {
knownTypes = Set([
'(any)',
unicode('undefined', 'utf8'),
'(undefined)',
@ -49,7 +50,7 @@ unicode('specification', 'utf8'),
'text',
',',
' '
}
])
# TODO(edisonn): add a third element in the vector, the base class, by default it is Dictionary
# TODO(edisonn): add overrides for types map<field_name, type_name>