From 452ef202ae135c36b969930d179e334154e8cb88 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 17 Jun 2012 22:48:23 +0000 Subject: [PATCH] minor fixes --- lib/core/dump.py | 3 +-- lib/core/settings.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index 4b4ac2cd4..4e49b7c06 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -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) diff --git a/lib/core/settings.py b/lib/core/settings.py index bb6f6717e..e2843726f 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -265,6 +265,7 @@ CURRENT_DB = "CD" # Regular expressions used for parsing error messages (--parse-errors) ERROR_PARSING_REGEXES = ( r"[^<]*(fatal|error|warning|exception)[^<]*:?\s*(?P.+?)", + r"(?m)^(fatal|error|warning|exception):?\s*(?P.+?)$", r"
  • Error Type:
    (?P.+?)
  • ", r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P[^<>]+)" )