minor fixes

This commit is contained in:
Miroslav Stampar 2012-06-17 22:48:23 +00:00
parent b9f6943a42
commit 452ef202ae
2 changed files with 2 additions and 2 deletions

View File

@ -512,8 +512,7 @@ class Dump:
self.string(query, queryRes)
def rFile(self, filePath, fileData):
if fileData:
self.string("%s file saved to" % filePath, fileData, sort=False)
self.string("%s file saved to" % filePath, fileData, sort=False)
def registerValue(self, registerData):
self.string("Registry key value data", registerData, sort=False)

View File

@ -265,6 +265,7 @@ CURRENT_DB = "CD"
# Regular expressions used for parsing error messages (--parse-errors)
ERROR_PARSING_REGEXES = (
r"<b>[^<]*(fatal|error|warning|exception)[^<]*</b>:?\s*(?P<result>.+?)<br\s*/?\s*>",
r"(?m)^(fatal|error|warning|exception):?\s*(?P<result>.+?)$",
r"<li>Error Type:<br>(?P<result>.+?)</li>",
r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P<result>[^<>]+)"
)