Bugfix check repositories

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-05-08 16:39:42 +03:00
parent c18eccfa94
commit 280e072e5a

View file

@ -146,7 +146,7 @@ class ArgParse(BlackList):
repos = self.args[1].split("=")[-1].split(",")
for rp in repos:
if rp not in self.meta.repositories:
repos.remove(rp)
usage(rp, 1)
upgrade.run(repos)
else:
usage("", 1)