From b2e010e69a58a21ae1f37fc5a5f84e2a5992e1ce Mon Sep 17 00:00:00 2001 From: Joel Schaerer Date: Mon, 3 Jan 2011 23:24:22 +0100 Subject: [PATCH] this signal handler shouldn't be needed anymore, now that we handle files atomically --- autojump | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autojump b/autojump index 9c674f7..6f574d6 100755 --- a/autojump +++ b/autojump @@ -33,11 +33,6 @@ MAX_STORED_PATHS = 600 COMPLETION_SEPARATOR = '__' CONFIG_DIR = os.environ.get("AUTOJUMP_DATA_DIR", os.path.expanduser("~")) -def signal_handler(arg1, arg2): - """Autojump shouldn't break on SIGINT""" - print("Received SIGINT, trying to continue") -signal.signal(signal.SIGINT, signal_handler) - def uniqadd(collection, key): """Adds a key to a list only if it is not already present""" if key not in collection: