mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 05:08:42 +02:00
Merge branch 'master' of https://github.com/mgorse/osc
Fix "osc rq -d ..." in case of an old OBS instance. Initialize "diff" as bytes instead of str.
This commit is contained in:
@@ -2492,7 +2492,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
print('Buildstatus for \'%s/%s\':' % (action.src_project, action.src_package))
|
||||
print('\n'.join(get_results(apiurl, action.src_project, action.src_package)))
|
||||
if opts.diff:
|
||||
diff = ''
|
||||
diff = b''
|
||||
try:
|
||||
# works since OBS 2.1
|
||||
diff = request_diff(apiurl, reqid)
|
||||
|
Reference in New Issue
Block a user