diff --git a/roles/copy-wheels/files/wheel-index.sh b/roles/copy-wheels/files/wheel-index.sh index 5118ca41d8..1148b200a3 100755 --- a/roles/copy-wheels/files/wheel-index.sh +++ b/roles/copy-wheels/files/wheel-index.sh @@ -23,7 +23,7 @@ for f in $FILES; do # Run the indexer over this directory # NOTE(ianw) : remove temporary "--output" when working - /usr/local/bin/wheel-indexer.py --debug --output "index.html.tmp" $MIRROR_ROOT/$f + /usr/local/bin/wheel-indexer.py --debug --output "index.html.tmp" $f fi done diff --git a/roles/copy-wheels/files/wheel-indexer.py b/roles/copy-wheels/files/wheel-indexer.py index 55cae9c5ee..75ceeda8bb 100644 --- a/roles/copy-wheels/files/wheel-indexer.py +++ b/roles/copy-wheels/files/wheel-indexer.py @@ -98,13 +98,13 @@ def create_index(path, files): project = os.path.basename(path) - output = f''' + output = ''' - {project} + %s @@ -144,6 +144,7 @@ def create_index(path, files): return output +logging.debug("Building indexes from: %s" % args.toplevel) for root, dirs, files in os.walk(args.toplevel): # sanity check we are only called from leaf directories by the # driver script