From 7ef8bee0b8eb23b4c3956c61e56ff2023f306acd Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 5 Aug 2011 18:51:02 +0200 Subject: [PATCH] osc diff: use pager also for local diff --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 9d66a5f5..28d62e56 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3255,7 +3255,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. for pac in pacs: if not rev2: for i in pac.get_diff(rev1): - sys.stdout.write(''.join(i)) + diff += ''.join(i) else: diff += server_diff_noex(pac.apiurl, pac.prjname, pac.name, rev1, pac.prjname, pac.name, rev2, not opts.plain, opts.missingok)