From 94023a986d87769a230250e1ce39c2c93427b6a9 Mon Sep 17 00:00:00 2001 From: r4sas Date: Mon, 22 Jun 2020 11:33:34 +0000 Subject: [PATCH] remove unused exception variable Signed-off-by: r4sas --- pbincli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbincli/cli.py b/pbincli/cli.py index 0a54182..835a422 100755 --- a/pbincli/cli.py +++ b/pbincli/cli.py @@ -18,7 +18,7 @@ def read_config(filename): try: key, value = l.strip().split("=") settings[key.strip()] = value.strip() - except ValueError as pe: + except ValueError: PBinCLIError("Unable to parse config file, please check it for errors.") return settings