From e8bd3c9c9fb3c7e44c03a271ff1677eace8bb4ee Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 29 Jan 2013 17:00:28 +0000 Subject: [PATCH] cosmetics --- lib/core/dump.py | 1 - lib/utils/api.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index 1e0570870..27db7625a 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -46,7 +46,6 @@ class Dump(object): """ This class defines methods used to parse and output the results of SQL injection actions - """ def __init__(self): diff --git a/lib/utils/api.py b/lib/utils/api.py index eef29fa7b..3d5143c99 100644 --- a/lib/utils/api.py +++ b/lib/utils/api.py @@ -200,7 +200,8 @@ class LogRecorder(logging.StreamHandler): communication with the parent process """ conf.database_cursor.execute("INSERT INTO logs VALUES(NULL, ?, ?, ?, ?)", - (conf.taskid, time.strftime("%X"), record.levelname, record.msg % record.args if record.args else record.msg)) + (conf.taskid, time.strftime("%X"), record.levelname, + record.msg % record.args if record.args else record.msg)) def setRestAPILog(): if hasattr(conf, "api"):