This commit is contained in:
Sengian 2011-01-11 00:30:24 +01:00
parent bc433b2650
commit 7ea92e2c67
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ class Inline:
action = self.__default_dict.get(self.__token_info) action = self.__default_dict.get(self.__token_info)
if action: if action:
action(line) action(line)
self.__write_obj.write(line) self.__write_obj.write(line)
def __found_open_bracket_func(self, line): def __found_open_bracket_func(self, line):
""" """
@ -410,7 +410,7 @@ class Inline:
self.__token_info = line[:16] self.__token_info = line[:16]
self.__set_list_func(line) self.__set_list_func(line)
action = self.__state_dict.get(self.__state) action = self.__state_dict.get(self.__state)
if action == None: if action is None:
sys.stderr.write(_('No matching state in module inline_for_lists.py\n')) sys.stderr.write(_('No matching state in module inline_for_lists.py\n'))
sys.stderr.write(self.__state + '\n') sys.stderr.write(self.__state + '\n')
action(line) action(line)

View File

@ -52,7 +52,7 @@ class ProcessTokens:
self.__return_code = 0 self.__return_code = 0
self.dict_token={ self.dict_token={
# unicode # unicode
'mshex' : ('nu', '__________', self.__ms_hex_func), 'mshex' : ('nu', '__________', self.__ms_hex_func),
# brackets # brackets
'{' : ('nu', '{', self.ob_func), '{' : ('nu', '{', self.ob_func),
'}' : ('nu', '}', self.cb_func), '}' : ('nu', '}', self.cb_func),