Spritz/Notification Applet:
- fixed cache discarding issues git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1527 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -15,19 +15,14 @@ sys.path.insert(0,'../../../client')
|
||||
sys.path.insert(0,'../../../libraries')
|
||||
sys.path.insert(0,'/usr/lib/entropy/spritz')
|
||||
sys.path.insert(0,'../')
|
||||
|
||||
sys.argv.append("--no-pid-handling")
|
||||
|
||||
try:
|
||||
os.nice(10)
|
||||
except:
|
||||
pass
|
||||
|
||||
args = filter(lambda s: s != "-d", sys.argv)
|
||||
if args != sys.argv:
|
||||
sys.argv = args
|
||||
|
||||
import etp_applet
|
||||
|
||||
def child_reaper(*args):
|
||||
try:
|
||||
while os.waitpid(-1, os.WNOHANG):
|
||||
|
||||
Reference in New Issue
Block a user