From da3320290c5dbf987bb8d6ef3ab5c452e81567c7 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 17 Mar 2023 09:43:37 +0200 Subject: [PATCH] Updated for coding style --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index c80d8f96..be9ea997 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -296,7 +296,7 @@ class Argparse(Configs): if args[0] == '-' and args[:2] != '--' and len(args) >= 3 and '=' not in args: self.args.remove(args) - for opt in list(map(lambda item: f'-{item}', [arg for arg in list(args[1:])])): + for opt in list(map(lambda x: f'-{x}', [arg for arg in list(args[1:])])): if opt in self.commands.keys(): self.args.insert(0, opt) continue