Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Marketing (http://www.linux-archive.org/fedora-marketing/)
-   -   Layouts may include spaces, so put them in quotes (http://www.linux-archive.org/fedora-marketing/673152-layouts-may-include-spaces-so-put-them-quotes.html)

Chris Lumens 05-31-2012 03:26 PM

Layouts may include spaces, so put them in quotes
 
> diff --git a/pykickstart/commands/keyboard.py b/pykickstart/commands/keyboard.py
> index 973c053..c5f67bc 100644
> --- a/pykickstart/commands/keyboard.py
> +++ b/pykickstart/commands/keyboard.py
> @@ -66,7 +66,7 @@ class F18_Keyboard(FC3_Keyboard):
>
> retval = "# Keyboard layouts
keyboard"
> for layout in self.layouts_list:
> - retval += " %s" % layout
> + retval += " '%s'" % layout
>
> return retval

This is obviously fine.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 03:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.