mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- make sure the buffer is flushed
This commit is contained in:
parent
e402064bb2
commit
8df5e1fe38
@ -4629,6 +4629,7 @@ def request_interactive_review(apiurl, request):
|
||||
tmpfile = tempfile.NamedTemporaryFile()
|
||||
tmpfile.write(server_diff(apiurl, request.actions[0].dst_project, request.actions[0].dst_package, None,
|
||||
request.actions[0].src_project, request.actions[0].src_package, request.actions[0].src_rev, True))
|
||||
tmpfile.flush()
|
||||
pager = os.getenv('EDITOR', default='less')
|
||||
subprocess.call('%s %s' % (pager, tmpfile.name), shell=True)
|
||||
elif repl == 'c':
|
||||
|
Loading…
Reference in New Issue
Block a user