From 6731b19439908fa4073c7e58b068b5213f9034ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 24 Oct 2005 21:55:36 +0000 Subject: [PATCH] typo --- pisi/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 3a64cc4a..38c33297 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -634,7 +634,7 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment indexuri = self.args[1] pisi.api.add_repo(name, indexuri) if ctx.ui.confirm(_('Update PISI database for repository %s?') % name): - pisi.api.update_repo(repo) + pisi.api.update_repo(name) self.finalize() else: self.help()