blob: 5941cc06cfbb408eb2f3894526b0283f6d5b19f4 (
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
@@ -301,8 +301,10 @@
def ask(prompt, default=None):
if default is not None:
print "%s [%s]: " % (prompt, default),
+ sys.stdout.flush()
else:
print "%s: " % (prompt,),
+ sys.stdout.flush()
return sys.stdin.readline().rstrip("\n") or default
try:
|