From 90baadcd8177b85a58ce885d89f4b5523cf4c2ff Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 27 Sep 2015 13:07:34 +0300 Subject: [PATCH] Fix for key look --- slpkg/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/arguments.py b/slpkg/arguments.py index f53290ae..718d2a89 100644 --- a/slpkg/arguments.py +++ b/slpkg/arguments.py @@ -176,7 +176,7 @@ def usage(repo): if repo and repo not in _meta_.repositories: all_repos = RepoList().all_repos del RepoList().all_repos - if repo in all_repos: + if repo in all_repos.keys(): error_repo = ("slpkg: Error: Repository '{0}' is not activated" "\n".format(repo)) else: