summaryrefslogtreecommitdiff
path: root/python/samba/common.py
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2018-10-11 12:52:09 +1300
committerNoel Power <npower@samba.org>2018-10-25 21:45:57 +0200
commit71825bc9aacc05b14b303c6fa92a1dc127666bd1 (patch)
tree26883eb7e839979b4a7ba033bbc5d167b32c4255 /python/samba/common.py
parentbc8201bdf46f487e88812e6adc7b3d2d66a2c900 (diff)
downloadsamba-71825bc9aacc05b14b303c6fa92a1dc127666bd1.tar.gz
python/samba/common: py3 compat raw_input
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'python/samba/common.py')
-rw-r--r--python/samba/common.py2
1 files changed, 2 insertions, 0 deletions
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