aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/toolkit.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-21 19:52:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-21 19:52:31 +0300
commiteaa3b2c3b1e2f661ef5e9d9bc2a3d9383e015724 (patch)
treed9b1a82a07eb76167cfb967f0cd6a3b02c312859 /test/toolkit.py
parentfix GCC errors (diff)
downloadaes-tools-eaa3b2c3b1e2f661ef5e9d9bc2a3d9383e015724.tar.gz
aes-tools-eaa3b2c3b1e2f661ef5e9d9bc2a3d9383e015724.zip
test: fix Pylint warnings
Diffstat (limited to '')
-rw-r--r--test/toolkit.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/toolkit.py b/test/toolkit.py
index e94fe29..095127d 100644
--- a/test/toolkit.py
+++ b/test/toolkit.py
@@ -72,7 +72,6 @@ class Tools:
else:
os.environ['PATH'] += os.pathsep + str(search_dirs)
self._use_sde = use_sde
- self._logger = logging.getLogger(__name__)
_ENCRYPT_BLOCK = 'encrypt_block.exe'
_DECRYPT_BLOCK = 'decrypt_block.exe'
@@ -82,8 +81,7 @@ class Tools:
def run(self, tool_path, args):
cmd_list = ['sde', '--', tool_path] if self._use_sde else [tool_path]
cmd_list.extend(args)
- logging.info('Trying to execute: {0}'.format(
- subprocess.list2cmdline(cmd_list)))
+ logging.info('Trying to execute: ' + subprocess.list2cmdline(cmd_list))
try:
output = subprocess.check_output(
cmd_list, universal_newlines=True, stderr=subprocess.STDOUT)