mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06:15 +01:00
submitreq show: fix the --diff option; the diff was shown reversed. (bnc#379519)
This commit is contained in:
parent
2440bed285
commit
5d7df534ee
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user