From d2760d4b27fc5494117302b14f6c25f1ef5375a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serdar=20Dalg=C4=B1=C3=A7?= Date: Wed, 16 Dec 2009 09:29:16 +0000 Subject: [PATCH] when the release to print is found, no need to continue the iteration --- pisi/cli/blame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pisi/cli/blame.py b/pisi/cli/blame.py index c73f22fb..c95ab6f5 100644 --- a/pisi/cli/blame.py +++ b/pisi/cli/blame.py @@ -58,6 +58,7 @@ Usage: blame ... for hno, update in enumerate(pkg.history): if int(update.release) == release: self.print_package_info(pkg, hno) + return def print_package_info(self, package, hno=0): s = _('Name: %s, version: %s, release: %s\n') % (