summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Deiss <sebastian.deiss@atos.net>2018-03-15 10:38:51 +0100
committerSebastian Deiss <sebastian.deiss@atos.net>2018-03-15 10:38:51 +0100
commit7b8a61e5babd1a090a4e3a9a874753159837a0db (patch)
tree2da682b172e5debbc5cb78c8454ca86843ea8fac
parent3ac28443d9970e79add06f7368afd7c1f37fe752 (diff)
Language and typos
-rw-r--r--peekaboo/toolbox/cuckoo.py4
-rw-r--r--peekaboo/toolbox/files.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/peekaboo/toolbox/cuckoo.py b/peekaboo/toolbox/cuckoo.py
index 24170ac..6b12e69 100644
--- a/peekaboo/toolbox/cuckoo.py
+++ b/peekaboo/toolbox/cuckoo.py
@@ -59,8 +59,8 @@ def submit_to_cuckoo(sample):
raise CuckooAnalysisFailedException(e)
if not p.returncode == 0:
- # TODO: tell opponent on socket that file has not been checked
- raise CuckooAnalysisFailedException('cuckoo sumbit returned a non-zero return code.')
+ # TODO: tell opponent on socket that file has not been checked.
+ raise CuckooAnalysisFailedException('cuckoo submit returned a non-zero return code.')
else:
out, err = p.communicate()
logger.debug("cuckoo submit STDOUT: %s" % out)
diff --git a/peekaboo/toolbox/files.py b/peekaboo/toolbox/files.py
index ee7989e..e3b86ea 100644
--- a/peekaboo/toolbox/files.py
+++ b/peekaboo/toolbox/files.py
@@ -36,7 +36,7 @@ logger = logging.getLogger(__name__)
def chown2me():
""" Acquire ownership of all directories under /tmp with the prefix "amavis-". """
- # TODO: Find a better solution to acquire ownership and only for the directory currently in usse.
+ # TODO: Find a better solution to acquire ownership and only for the directory currently in use.
logger.debug('Invoking chown2me...')
config = get_config()
proc = subprocess.Popen(config.chown2me_exec,