Skip to content

Commit fa49790

Browse files
committed
Run the mailman cronjobs under Py27 until mailman has been upgraded to version 3.x (running under Py3).
- Legacy-Id: 18342
1 parent 2bf7481 commit fa49790

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

bin/mm_hourly

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export PYTHONIOENCODING=utf-8
1313
program=${0##*/}
1414
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
1515

16-
DTDIR=/a/www/ietf-datatracker/web
16+
# Note that we're using the last 2.7 release here, not the current release
17+
DTDIR=/a/www/ietf-datatracker/py27
1718
cd $DTDIR/
1819

1920
# Set up the virtual environment
@@ -22,4 +23,4 @@ source $DTDIR/env/bin/activate
2223
logger -p user.info -t cron "Running $DTDIR/bin/mm_hourly"
2324

2425
## XXX commented out pending rewrite -- mailman 2 python interface is not available under Python 3
25-
# $DTDIR/ietf/manage.py import_mailman_listinfo
26+
$DTDIR/ietf/manage.py import_mailman_listinfo

0 commit comments

Comments
 (0)