From e660d9339825deeea89e0234a76bf6fb804f9200 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Sat, 30 Jun 2012 07:37:04 +0200 Subject: [PATCH] euscanwww/scan_upstream: remove --feed Signed-off-by: Corentin Chary --- euscanwww/djeuscan/management/commands/scan_upstream.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/euscanwww/djeuscan/management/commands/scan_upstream.py b/euscanwww/djeuscan/management/commands/scan_upstream.py index 8014b7c..a72f0b6 100644 --- a/euscanwww/djeuscan/management/commands/scan_upstream.py +++ b/euscanwww/djeuscan/management/commands/scan_upstream.py @@ -157,11 +157,6 @@ class Command(BaseCommand): dest='all', default=False, help='Scan all packages'), - make_option('--feed', - action='store_true', - dest='feed', - default=False, - help='Read euscan output from stdin'), make_option('--purge-versions', action='store_true', dest='purge-versions', @@ -179,7 +174,7 @@ class Command(BaseCommand): def handle(self, *args, **options): scan_upstream = ScanUpstream(options) - if options['feed']: + if not args and not options['all']: scan_upstream.parse_output(sys.stdin) if options['purge-versions']: purge_versions(options)