update for a previous update (putting conf.dataEncoding in getUnicode wherever we know that data won't be 'touched' or 'used' in anyway related to the current web page - if not sure, just leave it as it is)

This commit is contained in:
Miroslav Stampar
2011-01-03 22:31:29 +00:00
parent 08ccbf2c1e
commit 0eabca9fd4
9 changed files with 12 additions and 14 deletions

View File

@@ -201,7 +201,7 @@ def __updateSqlmap():
logger.debug(debugMsg)
def notify(event_dict):
action = getUnicode(event_dict['action'])
action = getUnicode(event_dict['action'], conf.dataEncoding)
index = action.find('_')
prefix = action[index + 1].upper() if index != -1 else action.capitalize()
@@ -211,7 +211,7 @@ def __updateSqlmap():
if action.find('_completed') == -1:
dataToStdout("%s\t%s\n" % (prefix, event_dict['path']))
else:
revision = getUnicode(event_dict['revision'])
revision = getUnicode(event_dict['revision'], conf.dataEncoding)
index = revision.find('number ')
if index != -1: