From adb3143c82fb90ce3bfa596eb4143530a08a1d8b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 24 Jun 2015 02:12:07 +0300 Subject: [PATCH] Fixed unused argument --- slpkg/load.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/slpkg/load.py b/slpkg/load.py index 44ede40c..c2b0f895 100644 --- a/slpkg/load.py +++ b/slpkg/load.py @@ -74,20 +74,20 @@ class Regex(object): for d in data: if pr[1].startswith("*") and pr[1].endswith("*"): if pr[1][1:-1] in d: - lib.append(self.add(pr[0], d, lib)) + lib.append(self.add(pr[0], d)) elif pr[1].endswith("*"): if d.startswith(pr[1][:-1]): - lib.append(self.add(pr[0], d, lib)) + lib.append(self.add(pr[0], d)) elif pr[1].startswith("*"): if d.endswith(pr[1][1:]): - lib.append(self.add(pr[0], d, lib)) + lib.append(self.add(pr[0], d)) else: - lib.append(self.add(pr[0], d, lib)) + lib.append(self.add(pr[0], d)) else: lib += pkg.split() return lib - def add(self, repo, pkg, lib): + def add(self, repo, pkg): """Split packages by repository """ if repo == "sbo":