diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2012-09-14 10:29:06 +0200 |
---|---|---|
committer | Corentin Chary <corentin.chary@gmail.com> | 2012-09-14 10:29:06 +0200 |
commit | 32506e252a43646ede2195e81e3e62791d2c9af0 (patch) | |
tree | b38d39de606824503e17dae205aa23fdcebbb566 /euscanwww | |
parent | euscan: TODO (diff) | |
download | euscan-32506e252a43646ede2195e81e3e62791d2c9af0.tar.gz euscan-32506e252a43646ede2195e81e3e62791d2c9af0.tar.bz2 euscan-32506e252a43646ede2195e81e3e62791d2c9af0.zip |
euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Diffstat (limited to 'euscanwww')
-rw-r--r-- | euscanwww/djeuscan/management/commands/scan_upstream.py | 1 | ||||
-rw-r--r-- | euscanwww/djeuscan/processing/misc/update_portage_trees.py | 2 | ||||
-rw-r--r-- | euscanwww/djeuscan/tasks.py | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/euscanwww/djeuscan/management/commands/scan_upstream.py b/euscanwww/djeuscan/management/commands/scan_upstream.py index e941e73..a1528d4 100644 --- a/euscanwww/djeuscan/management/commands/scan_upstream.py +++ b/euscanwww/djeuscan/management/commands/scan_upstream.py @@ -9,7 +9,6 @@ from djeuscan.processing.scan import scan_upstream logger = logging.getLogger(__name__) - class Command(BaseCommand): _overlays = {} diff --git a/euscanwww/djeuscan/processing/misc/update_portage_trees.py b/euscanwww/djeuscan/processing/misc/update_portage_trees.py index e91a18c..3c52eaf 100644 --- a/euscanwww/djeuscan/processing/misc/update_portage_trees.py +++ b/euscanwww/djeuscan/processing/misc/update_portage_trees.py @@ -111,11 +111,11 @@ def update_portage_trees(logger=None): logger = logger or FakeLogger() logger.info("Running emerge --sync") emerge_sync(logger) + emerge_metadata(logger) logger.info("Running layman --sync") layman_sync(logger, cache=True) #logger.info("Running emerge --regen") #emerge_regen(logger) - emerge_metadata(logger) logger.info("Running eix-update") eix_update(logger) logger.info("Done!") diff --git a/euscanwww/djeuscan/tasks.py b/euscanwww/djeuscan/tasks.py index acfb3d7..51e1c53 100644 --- a/euscanwww/djeuscan/tasks.py +++ b/euscanwww/djeuscan/tasks.py @@ -360,4 +360,7 @@ admin_tasks = [ update_portage, update_upstream, scan_package, + send_update_email, + send_weekly_email, + send_monthly_email, ] |