warn_and_remove needs one more argument=repo

This commit is contained in:
Serdar Dalgıç
2010-02-23 13:18:00 +00:00
parent 7840983f1f
commit 1e8f3899bc
+1 -1
View File
@@ -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):