[PATCH master/rhel7] driver-updates: fix backspace/delete in dd menus (#1080380)

David Shea dshea at redhat.com
Tue Sep 16 13:33:55 UTC 2014


On 09/15/2014 05:41 PM, Will Woods wrote:
> Quoth the Python docs:
>
>    If the readline module was loaded, then raw_input() will use it to
>    provide elaborate line editing and history features.
>
> ..which includes stuff like.. correctly handling backspace. Yay.
> ---
>   dracut/driver-updates | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/dracut/driver-updates b/dracut/driver-updates
> index 373884f..19bc6ba 100755
> --- a/dracut/driver-updates
> +++ b/dracut/driver-updates
> @@ -43,6 +43,7 @@ import os
>   import subprocess
>   import time
>   import glob
> +import readline
>   
>   log = logging.getLogger("DD")
>   

Add

# pylint:disable=unused-import

to the end of the line to satisfy pylint, otherwise ack


More information about the anaconda-patches mailing list