Commits

qwertyface committed 317c92c

Remove all .pyc files on every refresh to save headaches on module renamings.

  • Participants
  • Parent commits 7b27fea

Comments (0)

Files changed (1)

File silverlining/commands/update.py

     else:
         clear_option = ''
     ssh('root', config.node_hostname,
+        'find /var/www/%(instance_name)s -name "*.pyc" -delete; '
         'python -m compileall -q /var/www/%(instance_name)s; '
         '/usr/local/share/silverlining/mgr-scripts/update-service.py %(instance_name)s %(clear_option)s'
         % dict(instance_name=instance_name,