repo.or.cz
/
cgmail.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported Debian patch 0.4.1-1
[cgmail.git]
/
idir
/
cgmailservice
blob
9a75e0d6afbd709fe5ce3d314f35801b9cef66bd
1
#! /usr/bin/env python
2
import
sys
3
import
os
4
5
os
.
chdir
(
"/usr/share/cgmail"
)
6
sys
.
path
.
append
(
"/usr/share/cgmail"
)
7
8
from
service
.
mainloop
import
MainLoop
9
from
service
.
dbusinterface
import
get_dbus_interface
10
11
iface
=
get_dbus_interface
()
12
#iface = None
13
if
iface
is not None
:
14
print
"cgmail service is already active"
15
else
:
16
MainLoop
()