Explorar o código

Extend upgrade script to remove cached bytecode

Jeremy Stretch %!s(int64=9) %!d(string=hai) anos
pai
achega
f34a8fff6a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      upgrade.sh

+ 3 - 0
upgrade.sh

@@ -25,3 +25,6 @@ eval $COMMAND
 
 # Collect static files
 ./netbox/manage.py collectstatic --noinput
+
+# Delete old bytecode
+find . -name "*.pyc" -delete