diff options
Diffstat (limited to 'FusionIcon/start.py')
-rw-r--r-- | FusionIcon/start.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/FusionIcon/start.py b/FusionIcon/start.py index 7dafdad..f785745 100644 --- a/FusionIcon/start.py +++ b/FusionIcon/start.py @@ -27,9 +27,9 @@ def init(): # Do not restart the wm if it's already running if wms.active == wms.active == wms.old != 'compiz': #always restart compiz since we can't know compiz was started correctly - print ' * %s is already running' %wms[wms.active].label + print(' * %s is already running' %wms[wms.active].label) else: - print ' * Starting %s' %wms[wms.active].label + print(' * Starting %s' %wms[wms.active].label) wms.start() config.check() @@ -38,18 +38,18 @@ config.check() if not parser_options.force_compiz: if wms.active not in wms: - print ' * "%s" not installed' %wms.active + print(' * "%s" not installed' %wms.active) if wms.fallback: - print ' ... setting to fallback...' + print(' ... setting to fallback...') else: - print ' ... No fallback window manager chosen' + print(' ... No fallback window manager chosen') wms.active = wms.fallback # if in a failsafe session, don't start with compiz (provides an easy way to make sure metacity starts for gnome users if compiz breaks) if wms.active == 'compiz' and env.failsafe: if wms.fallback: - print ' * Failsafe session, setting to fallback...' + print(' * Failsafe session, setting to fallback...') else: - print ' ... No fallback window manager chosen' + print(' ... No fallback window manager chosen') wms.active = wms.fallback @@ -57,7 +57,7 @@ elif 'compiz' in wms: wms.active = 'compiz' else: - raise SystemExit, ' *** Error: "--force-compiz" used and compiz not installed!' + raise SystemExit(' *** Error: "--force-compiz" used and compiz not installed!') # Set True if using Xorg AIGLX since the '--indirect-rendering' option has no effect in that situation. env.set() |