1664abf08a28bd064e7ab0a020ad9e4db6b9df6e,pdfminer/cmapdb.py,CMapDB,get_unicode_map,#Any#Any#Any#,232
Before Change
@classmethod
def get_unicode_map(klass, name, vertical=False):
modname = "pdfminer.cmap.TO_UNICODE_%s" % name.replace("-","_")
if klass.debug:
print >>sys.stderr, "loading:", modname, vertical
try:
module = __import__(modname, fromlist=["pdfminer.cmap"])
except ImportError:
raise CMapDB.CMapNotFound(name)
return PyUnicodeMap(name, module, vertical)
After Change
except KeyError:
pass
data = klass._load_data("to-unicode-%s" % name)
klass._umap_cache[name] = umaps = [PyUnicodeMap(name, data, v) for v in (False, True)]
return umaps[vertical]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: timvieira/arsenal
Commit Name: 1664abf08a28bd064e7ab0a020ad9e4db6b9df6e
Time: 2010-08-30
Author: none@none
File Name: pdfminer/cmapdb.py
Class Name: CMapDB
Method Name: get_unicode_map
Project Name: jazzband/django-debug-toolbar
Commit Name: 7fa83ed02ee038802d41f955966c892148385bae
Time: 2012-05-13
Author: jannis@leidel.info
File Name: debug_toolbar/panels/signals.py
Class Name: SignalDebugPanel
Method Name: signals
Project Name: timvieira/arsenal
Commit Name: 1664abf08a28bd064e7ab0a020ad9e4db6b9df6e
Time: 2010-08-30
Author: none@none
File Name: pdfminer/cmapdb.py
Class Name: CMapDB
Method Name: get_cmap