Fix error message for which_repo

This commit is contained in:
Faik Uygur
2008-09-03 13:21:56 +00:00
parent fccac9b82b
commit 86d35b7d11
+1 -1
View File
@@ -38,7 +38,7 @@ class ItemByRepo:
if self.dbobj.has_key(r) and self.dbobj[r].has_key(item):
return r
raise Exception(_("%s repository not found") % str(item))
raise Exception(_("%s not found in any repository.") % str(item))
def get_item_repo(self, item, repo=None):
for r in self.item_repos(repo):