diff options
author | Chris Lumens <clumens@redhat.com> | 2006-08-02 15:40:39 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-08-02 15:40:39 +0000 |
commit | ebf6bfad147a1ae3e9630695be0e79cd9ea1a3aa (patch) | |
tree | 519cfd56f03fd808d1ef29870a3fb968f24cba8d /xsetup.py | |
parent | c42d5b31ff180db6afcbc0c728da8997298b5b67 (diff) | |
download | anaconda-ebf6bfad147a1ae3e9630695be0e79cd9ea1a3aa.tar.gz anaconda-ebf6bfad147a1ae3e9630695be0e79cd9ea1a3aa.tar.xz anaconda-ebf6bfad147a1ae3e9630695be0e79cd9ea1a3aa.zip |
Fix string concat traceback (#201047).
Diffstat (limited to 'xsetup.py')
-rw-r--r-- | xsetup.py | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -48,20 +48,13 @@ class XSetup: if desktop: rl = desktop.getDefaultRunLevel() if rl and str(rl) == '5': - args = args + ['--startxonboot', ''] + args = args + ['--startxonboot'] gui = desktop.getDefaultDesktop() if gui: args = args + ['--defaultdesktop', string.lower(gui)] - f.write("xconfig") - for arg in args: - f.write(" " + arg) - f.write("\n") - - f.write("monitor") - for arg in self.getMonitorArgList(): - f.write(" " + arg) - f.write("\n") + f.write("xconfig %s\n" % string.join(args, " ")) + f.write("monitor %s\n" % string.join(self.getMonitorArgList(), " ") def getMonitorArgList(self): args = [] |