ctrl+C now removes pid file

This commit is contained in:
Yann Leboulanger 2006-06-12 08:16:15 +00:00
parent 97f66424bd
commit 600cae12f5
1 changed files with 0 additions and 3 deletions

View File

@ -29,7 +29,6 @@ import os
import sre import sre
import sys import sys
import time import time
import signal
from common import logger from common import logger
from common import i18n from common import i18n
@ -40,8 +39,6 @@ except:
PREFERRED_ENCODING = 'utf-8' PREFERRED_ENCODING = 'utf-8'
from common.helpers import from_one_line, decode_string from common.helpers import from_one_line, decode_string
signal.signal(signal.SIGINT, signal.SIG_DFL) # ^C exits the application
from pysqlite2 import dbapi2 as sqlite from pysqlite2 import dbapi2 as sqlite
if os.name == 'nt': if os.name == 'nt':