From 15178b6e4f00463d6552b763c03c13d17bf36c5f Mon Sep 17 00:00:00 2001
From: Marcus Huewe <suse-tux@gmx.de>
Date: Mon, 6 Dec 2010 21:44:38 +0100
Subject: [PATCH] - use 'print' instead of 'return' (otherwise the message will
 be written to stderr)

---
 osc/commandline.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/osc/commandline.py b/osc/commandline.py
index 1cefbd01..916839ea 100644
--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -3493,12 +3493,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
 
         args = [ apiurl, project, package, opts.last_build, opts.repo, opts.arch ]
         if opts.xml:
-            return show_results_meta(*args)
+            print show_results_meta(*args)
         elif opts.csv:
-            return '\n'.join(format_results(get_package_results(*args), opts.format))
+            print '\n'.join(format_results(get_package_results(*args), opts.format))
         else:
             args.append(opts.verbose)
-            return '\n'.join(get_results(*args))
+            print '\n'.join(get_results(*args))
 
     # WARNING: this function is also called by do_results. You need to set a default there
     #          as well when adding a new option!