From d0f2acd366a3ae07366137831521fe90ca8e4d82 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 22 Jun 2015 22:42:42 +0300 Subject: [PATCH] Fix args --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index 0833d8d5..5c929d2c 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -233,7 +233,7 @@ class ArgParse(object): index = self.args.index(flags[2]) del self.args[index] for arg in self.args: - if arg.startswith("--skip"): + if arg.startswith(flags[1]): skip = skiped(self.args[i].split("=")[1]) self.args.pop(i) i += 1