Update sesu.py: use defined prompt (#69835)

* Update sesu.py: use defined prompt

* Add changelog fragment

Co-authored-by: Alexandros Zachos <alexandros.zachos@cz.ibm.com>
pull/69409/head
lospatchos 6 years ago committed by GitHub
parent 3e36350309
commit 5399127ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- sesu - make use of the prompt specified in the code

@ -75,7 +75,7 @@ class BecomeModule(BecomeBase):
name = 'sesu'
_prompt = 'Please enter your password:'
prompt = 'Please enter your password:'
fail = missing = ('Sorry, try again with sesu.',)
def build_become_command(self, cmd, shell):

Loading…
Cancel
Save