blob: a32e922751905e9266f12e784bc2d99128486489 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ./python/samba/netcmd/domain.py.orig
+++ ./python/samba/netcmd/domain.py
@@ -388,8 +388,10 @@
def ask(prompt, default=None):
if default is not None:
print("%s [%s]: " % (prompt, default), end=' ')
+ sys.stdout.flush()
else:
print("%s: " % (prompt,), end=' ')
+ sys.stdout.flush()
return sys.stdin.readline().rstrip("\n") or default
try:
|