]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
cli: Use correct function to print search result
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Jun 2019 14:53:58 +0000 (15:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Jun 2019 14:53:58 +0000 (15:53 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/cli.py

index b5b78b5c2d5595478a2a195e06ed9bfe0a4bcbc7..8fcf186a31d1e0b28c29454e18cf11d4f0c9bb4f 100644 (file)
@@ -297,7 +297,7 @@ class Cli(object):
                                if pkg.name.endswith("-debuginfo"):
                                        continue
 
-                               print("%-24s: %s" % (pkg.name, pkg.summary))
+                               self.ui.message("%-24s: %s" % (pkg.name, pkg.summary))
 
        def handle_update(self, ns, check=False):
                with self.pakfire(ns) as p: