From d765b4efbaca61cdd2b2f29c5c3cf5b7d40cd9f7 Mon Sep 17 00:00:00 2001 From: Patrick Ulbrich Date: Tue, 15 Nov 2011 22:39:30 +0100 Subject: [PATCH] removed commented out code --- Mailnag/mailnag.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Mailnag/mailnag.py b/Mailnag/mailnag.py index e68f6d0..99a91ef 100644 --- a/Mailnag/mailnag.py +++ b/Mailnag/mailnag.py @@ -53,22 +53,6 @@ def delete_pid(): # delete file mailnag.pid os.remove(pid_file) -#def commandExecutor(command, context_menu_command=None): -# if context_menu_command != None: # check origin of command -# command = context_menu_command -# -# if command == 'clear': # clear indicator list immediatelly -# mailchecker.clear() -# elif command == 'exit': # exit mailnag immediatelly -# delete_pid() -# exit(0) -# elif command == 'check': # check immediatelly for new emails -# mailchecker.check() -# else: -# command_list = command.split(' ') # create list of arguments -# pid.append(subprocess.Popen(command_list)) # execute 'command' - - def cleanup(): # clean up resources try: