From 1e8f3899bca7c63ae86add48cbc1d16dad4e6f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serdar=20Dalg=C4=B1=C3=A7?= Date: Tue, 23 Feb 2010 13:18:00 +0000 Subject: [PATCH] warn_and_remove needs one more argument=repo --- pisi/cli/addrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/cli/addrepo.py b/pisi/cli/addrepo.py index 1fa63050..d1f22816 100644 --- a/pisi/cli/addrepo.py +++ b/pisi/cli/addrepo.py @@ -56,7 +56,7 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment def check_distro(self, repo): if not self.repodb.check_distribution(repo): - self.warn_and_remove(_("Repository distribution does not match. Removing %s from system.") % repo) + self.warn_and_remove(_("Repository distribution does not match. Removing %s from system.") % repo, repo) def run(self):