euscanwww/scan_upstream: remove --feed

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
Corentin Chary 2012-06-30 07:37:04 +02:00
parent 94adc751c1
commit e660d93398

View File

@ -157,11 +157,6 @@ class Command(BaseCommand):
dest='all', dest='all',
default=False, default=False,
help='Scan all packages'), help='Scan all packages'),
make_option('--feed',
action='store_true',
dest='feed',
default=False,
help='Read euscan output from stdin'),
make_option('--purge-versions', make_option('--purge-versions',
action='store_true', action='store_true',
dest='purge-versions', dest='purge-versions',
@ -179,7 +174,7 @@ class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):
scan_upstream = ScanUpstream(options) scan_upstream = ScanUpstream(options)
if options['feed']: if not args and not options['all']:
scan_upstream.parse_output(sys.stdin) scan_upstream.parse_output(sys.stdin)
if options['purge-versions']: if options['purge-versions']:
purge_versions(options) purge_versions(options)