summaryrefslogtreecommitdiff
path: root/pykolab/utils.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-02-11 13:33:28 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-02-11 13:33:28 (GMT)
commit65b0905032e99caa7a16866f6b6a1f89400b0dc6 (patch)
tree9be28cb0e4d8d21fb2a224f669815d39c652cc6a /pykolab/utils.py
parent94dc3f68914a9aaf3d2441f90b2577afde05cf4b (diff)
downloadpykolab-65b0905032e99caa7a16866f6b6a1f89400b0dc6.tar.gz
Flush stdout/stderr
Diffstat (limited to 'pykolab/utils.py')
-rw-r--r--pykolab/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pykolab/utils.py b/pykolab/utils.py
index a35c352..bd94a02 100644
--- a/pykolab/utils.py
+++ b/pykolab/utils.py
@@ -88,6 +88,7 @@ def ask_confirmation(question, default="y", all_inclusive_no=True):
else:
answer = False
print >> sys.stderr, _("Please answer 'yes' or 'no'.")
+ sys.stderr.flush()
def normalize(_object):
if type(_object) == list: