diff options
author | Matt Wilson <msw@redhat.com> | 2001-01-04 07:09:18 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-01-04 07:09:18 +0000 |
commit | 8f8a22f2791bb91a2448aa60dff148b63d4752a1 (patch) | |
tree | d826d307bbf9073be51b652ed3c487d750d4dc54 /simpleconfig.py | |
parent | 85b3078a4949833b02d1eaf2a168b34257ee44a1 (diff) | |
download | anaconda-8f8a22f2791bb91a2448aa60dff148b63d4752a1.tar.gz anaconda-8f8a22f2791bb91a2448aa60dff148b63d4752a1.tar.xz anaconda-8f8a22f2791bb91a2448aa60dff148b63d4752a1.zip |
only paste strings into the config file
Diffstat (limited to 'simpleconfig.py')
-rw-r--r-- | simpleconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleconfig.py b/simpleconfig.py index e5a320a3e..c97eb3951 100644 --- a/simpleconfig.py +++ b/simpleconfig.py @@ -7,7 +7,8 @@ class SimpleConfigFile: keys.sort () for key in keys: # FIXME - use proper escaping - s = s + key + "=\"" + self.info[key] + "\"\n" + if type (self.info[key]) == type(""): + s = s + key + "=\"" + self.info[key] + "\"\n" return s def __init__ (self): |