From 3c30cae6ebda7c66fb84658d6baa8ea52d3559e9 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Thu, 26 Jul 2012 21:17:45 +0200 Subject: [PATCH] djeuscan: use store_true for populqte in scan_metadata Signed-off-by: Corentin Chary --- euscanwww/djeuscan/management/commands/scan_metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/euscanwww/djeuscan/management/commands/scan_metadata.py b/euscanwww/djeuscan/management/commands/scan_metadata.py index 48f2c3c..7fb5b52 100644 --- a/euscanwww/djeuscan/management/commands/scan_metadata.py +++ b/euscanwww/djeuscan/management/commands/scan_metadata.py @@ -25,9 +25,9 @@ class Command(BaseCommand): default=None, help='Scan only this category'), make_option('--populate', - action='store', + action='store_true', dest='populate', - default=None, + default=False, help='Populate herds and maintainers from herds.xml'), ) args = ''