From 8e6c37fa4d2df2f2dc260ead4ba09597eb3046e2 Mon Sep 17 00:00:00 2001 From: imdano <> Date: Sun, 24 Aug 2008 08:36:07 +0000 Subject: [PATCH] experimental/pluggablebackends: - Remove --scan-interval option from daemon since its no longer needed. --- wicd/daemon.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wicd/daemon.py b/wicd/daemon.py index b9f6144..c3b24a6 100644 --- a/wicd/daemon.py +++ b/wicd/daemon.py @@ -1393,9 +1393,9 @@ def main(argv): auto_scan = True try: - opts, args = getopt.getopt(sys.argv[1:], 'fenoahi:', + opts, args = getopt.getopt(sys.argv[1:], 'fenoah:', ['help', 'no-daemon', 'no-poll', 'no-stderr', 'no-stdout', - 'no-autoconnect', 'scan-interval']) + 'no-autoconnect']) except getopt.GetoptError: # Print help information and exit usage() @@ -1416,8 +1416,6 @@ def main(argv): auto_scan = False if o in ('-n', '--no-poll'): no_poll = True - if o in ('i', '--scan-interval'): - scan_interval = a if do_daemonize: daemonize()