1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-30 19:56:14 +01:00

submitreq show: fix the --diff option; the diff was shown reversed. (bnc#379519)

This commit is contained in:
Dr. Peter Poeml 2008-04-28 09:39:07 +00:00
parent 2440bed285
commit 5d7df534ee

View File

@ -456,8 +456,8 @@ class Osc(cmdln.Cmdln):
if opts.diff:
try:
print pretty_diff(conf.config['apiurl'],
r.src_project, r.src_package, r.src_md5,
r.dst_project, r.dst_package, None)
r.dst_project, r.dst_package, None,
r.src_project, r.src_package, r.src_md5)
except urllib2.HTTPError, e:
print >>sys.stderr, 'Diff not possible:', e