summaryrefslogtreecommitdiffstats
path: root/launcher
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-07-15 14:10:11 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-07-15 14:10:11 +0800
commitc512bc6f2841fc66b4dfec7c09cf837c2e240a9d (patch)
treedab69774921ad6a6df709b3689788ef21c4d62ef /launcher
parent615ff80fb8d863c489c73147b02dd2bcc07864a0 (diff)
downloadibus-c512bc6f2841fc66b4dfec7c09cf837c2e240a9d.tar.gz
ibus-c512bc6f2841fc66b4dfec7c09cf837c2e240a9d.tar.xz
ibus-c512bc6f2841fc66b4dfec7c09cf837c2e240a9d.zip
Refine coding style.
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ibus.in28
1 files changed, 14 insertions, 14 deletions
diff --git a/launcher/ibus.in b/launcher/ibus.in
index 33baa94..80a620c 100644
--- a/launcher/ibus.in
+++ b/launcher/ibus.in
@@ -29,32 +29,32 @@ conf = "@prefix@/libexec/ibus-gconf"
daemon_pid = 0
try:
- print "start ibus-daemon"
- daemon_pid = os.spawnv (os.P_NOWAIT, daemon, [daemon])
+ print "start ibus-daemon"
+ daemon_pid = os.spawnv (os.P_NOWAIT, daemon, [daemon])
except:
- print >> sys.stderr, "start ibus-daemon failed"
- sys.exit (1)
+ print >> sys.stderr, "start ibus-daemon failed"
+ sys.exit (1)
time.sleep (1)
try:
- print "start ibus-panel"
- os.spawnv (os.P_NOWAIT, panel, [panel])
+ print "start ibus-panel"
+ os.spawnv (os.P_NOWAIT, panel, [panel])
except:
- print >> sys.stderr, "start ibus-panel failed"
- sys.exit (1)
+ print >> sys.stderr, "start ibus-panel failed"
+ sys.exit (1)
try:
- print "start ibus-conf"
- os.spawnv (os.P_NOWAIT, conf, [conf])
+ print "start ibus-conf"
+ os.spawnv (os.P_NOWAIT, conf, [conf])
except:
- print >> sys.stderr, "start ibus-conf failed"
- sys.exit (1)
+ print >> sys.stderr, "start ibus-conf failed"
+ sys.exit (1)
try:
- os.kill (daemon_pid, 0)
+ os.kill (daemon_pid, 0)
except:
- sys.exit (1)
+ sys.exit (1)
os.waitpid (daemon_pid, 0)