From 71825bc9aacc05b14b303c6fa92a1dc127666bd1 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Oct 2018 12:52:09 +1300 Subject: [PATCH] python/samba/common: py3 compat raw_input Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/common.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2