From e2fcd0dd9ca7accdc137be8a77b489d654b149f4 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 18 Nov 2016 17:18:36 -0500 Subject: [PATCH] cron: Remove unused compile-all.py script. This work is now done near the end of website-update.sh, with better error handling and fewer processes spawned. --- compile-all.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 compile-all.py diff --git a/compile-all.py b/compile-all.py deleted file mode 100755 index 96c6cb94..00000000 --- a/compile-all.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/python - -import compileall -import os -#compileall.compile_dir("www", force=1) -# - -def compileDir(arg, directory, names): - compileall.compile_dir(directory, force=1) - -os.path.walk("www", compileDir, "") - -os.system("find www -type d -exec chmod gu+rx {} \;") -os.system("find www -type f -exec chmod gu+r {} \;") -os.system("find www -type d -exec chmod o+x {} \;") -os.system("find www/conservancy/static -type d -exec chmod o+rx {} \;") -os.system("find www/conservancy/static -exec chmod o+r {} \;") -os.system("find www -exec chgrp www-data {} \;") -os.system("find www -exec chmod go-w {} \;")