mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-02 21:06:16 +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:
|
if opts.diff:
|
||||||
try:
|
try:
|
||||||
print pretty_diff(conf.config['apiurl'],
|
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:
|
except urllib2.HTTPError, e:
|
||||||
print >>sys.stderr, 'Diff not possible:', e
|
print >>sys.stderr, 'Diff not possible:', e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user