samba-tool domain provision: Fix --interactive module in python3
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Mar 2019 23:38:27 +0000 (23:38 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 12 Mar 2019 01:53:26 +0000 (01:53 +0000)
commit31aecee1446c5006771aaa535ae85810bbfb5db0
treee888f35b989a2460b364b6a215d432719a6c1646
parent1364ae3aeb9cf49c5516497f0b02f0ed4c5c147f
samba-tool domain provision: Fix --interactive module in python3

The prompts were not being printed to the screen because the stream
was not being flushed.

As reported on the samba mailing list by Adam Xu:
https://lists.samba.org/archive/samba/2019-March/221753.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13828

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
python/samba/netcmd/domain.py