diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2016-07-07 11:23:18 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2016-07-07 11:23:18 -0500 |
commit | 36fecb2145e17f556c5054d01089e9665b60feea (patch) | |
tree | 51c98bbdb193620df35ef047a28c1ab3d0493612 /src/lib/Bcfg2 | |
parent | eedb5daedaba19d664c238f27469b523c29f2d22 (diff) | |
parent | bf913107e780d32ebabdad86c11298ff8c75d7d8 (diff) | |
download | bcfg2-36fecb2145e17f556c5054d01089e9665b60feea.tar.gz bcfg2-36fecb2145e17f556c5054d01089e9665b60feea.tar.bz2 bcfg2-36fecb2145e17f556c5054d01089e9665b60feea.zip |
Merge branch 'input-2' of https://github.com/gordonmessmer/bcfg2
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Client/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/__init__.py b/src/lib/Bcfg2/Client/__init__.py index c40d66f58..0ba775318 100644 --- a/src/lib/Bcfg2/Client/__init__.py +++ b/src/lib/Bcfg2/Client/__init__.py @@ -67,7 +67,7 @@ def prompt(msg): ans = safe_input(msg) return ans in ['y', 'Y'] except UnicodeEncodeError: - ans = input(msg.encode('utf-8')) + ans = safe_input(msg.encode('utf-8')) return ans in ['y', 'Y'] except (EOFError, KeyboardInterrupt): # handle ^C |