This commit is contained in:
Sengian 2011-01-25 00:48:32 +01:00
parent ba1e8510fa
commit 05a90f1bcb
3 changed files with 2 additions and 6 deletions

View File

@ -30,8 +30,6 @@ class GetCharMap:
'char_file'--the file with the mappings 'char_file'--the file with the mappings
Returns: Returns:
nothing nothing
@ -62,7 +60,6 @@ class GetCharMap:
fields[1].replace('\\colon', ':') fields[1].replace('\\colon', ':')
map_dict[fields[1]] = fields[3] map_dict[fields[1]] = fields[3]
if not found_map: if not found_map:
msg = 'no map found\nmap is "%s"\n'%(map,) msg = 'no map found\nmap is "%s"\n'%(map,)
raise self.__bug_handler, msg raise self.__bug_handler, msg

View File

@ -155,7 +155,6 @@ class Hex2Utf8:
char_file = self.__char_file, char_file = self.__char_file,
bug_handler = self.__bug_handler, bug_handler = self.__bug_handler,
) )
print self.__default_char_map
up_128_dict = char_map_obj.get_char_map(map=self.__default_char_map) up_128_dict = char_map_obj.get_char_map(map=self.__default_char_map)
bt_128_dict = char_map_obj.get_char_map(map = 'bottom_128') bt_128_dict = char_map_obj.get_char_map(map = 'bottom_128')
ms_standard_dict = char_map_obj.get_char_map(map = 'ms_standard') ms_standard_dict = char_map_obj.get_char_map(map = 'ms_standard')