Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Hardened (http://www.linux-archive.org/gentoo-hardened/)
-   -   Layouts may include spaces, so put them in quotes (http://www.linux-archive.org/gentoo-hardened/667848-layouts-may-include-spaces-so-put-them-quotes.html)

Vratislav Podzimek 05-17-2012 01:11 PM

Layouts may include spaces, so put them in quotes
 
---
pykickstart/commands/keyboard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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

--
1.7.4.4

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

Vratislav Podzimek 05-30-2012 09:49 AM

Layouts may include spaces, so put them in quotes
 
---
pykickstart/commands/keyboard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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

--
1.7.4.4

_______________________________________________
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 01:50 PM.

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