From: Douglas Bagnall Date: Wed, 10 Oct 2018 23:52:09 +0000 (+1300) Subject: python/samba/common: py3 compat raw_input X-Git-Tag: tdb-1.3.17~1162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71825bc9aacc05b14b303c6fa92a1dc127666bd1;p=thirdparty%2Fsamba.git python/samba/common: py3 compat raw_input Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/python/samba/common.py b/python/samba/common.py index fabbcea13df..76d00e35fb5 100644 --- a/python/samba/common.py +++ b/python/samba/common.py @@ -31,6 +31,8 @@ if PY3: def cmp(a, b): return (a > b) - (a < b) + raw_input = input + def confirm(msg, forced=False, allow_all=False): """confirm an action with the user