diff options
author | Michael Weiser <michael.weiser@gmx.de> | 2019-02-14 20:58:49 +0000 |
---|---|---|
committer | Michael Weiser <michael.weiser@gmx.de> | 2019-02-14 20:58:49 +0000 |
commit | 5ab341f726f5831f0e1e29b2c56b9e6432065a9d (patch) | |
tree | 5b270e896c3b1b41d6dd652ab30003822012e550 /peekaboo | |
parent | e3ac48c698134ae4f51434cd5d5f810890a649c0 (diff) |
Remove last send_message remnants
Diffstat (limited to 'peekaboo')
-rw-r--r-- | peekaboo/sample.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/peekaboo/sample.py b/peekaboo/sample.py index 34b4a57..4204e60 100644 --- a/peekaboo/sample.py +++ b/peekaboo/sample.py @@ -154,9 +154,8 @@ class Sample(object): self.initialized = True - message = "Datei \"%s\" %s wird analysiert" % (self.__filename, - self.sha256sum) - self.__report.append(message) + self.__report.append("Datei \"%s\" %s wird analysiert" + % (self.__filename, self.sha256sum)) # log some additional info to report to aid debugging if self.has_attr('meta_info_name_declared'): @@ -248,7 +247,7 @@ class Sample(object): @returns: List of strings. """ # This message used to be: - # message = "Die Datei \"%s\" wurde als \"%s\" eingestuft\n\n" + # "Die Datei \"%s\" wurde als \"%s\" eingestuft\n\n" # Changed intentionally to not trigger configured god/bad matching # patterns in clients (e.g. AMaViS) any more since we switched to # reporting an overall analysis batch result. @@ -490,9 +489,8 @@ class Sample(object): """ logger.debug("Submitting %s to Cuckoo", self.__submit_path) self.__cuckoo_job_id = self.__cuckoo.submit(self) - message = 'Erfolgreich an Cuckoo gegeben %s als Job %d' \ - % (self, self.__cuckoo_job_id) - self.__internal_report.append(message) + self.__internal_report.append('Erfolgreich an Cuckoo gegeben %s als ' + 'Job %d' % (self, self.__cuckoo_job_id)) return self.__cuckoo_job_id def register_cuckoo_report(self, report): |