diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-10-11 12:52:09 +1300 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-10-25 21:45:57 +0200 |
commit | 71825bc9aacc05b14b303c6fa92a1dc127666bd1 (patch) | |
tree | 26883eb7e839979b4a7ba033bbc5d167b32c4255 /python/samba/common.py | |
parent | bc8201bdf46f487e88812e6adc7b3d2d66a2c900 (diff) | |
download | samba-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.py | 2 |
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 |