Beispiel #1
0
def clean():
    logger.info("Cleaning...")

    # Escalate permissions to root (sudo) if not ran as root
    # This is required for creating the chroot jails and running the solutions.
    escalate_permissions()

    # Clean and delete the sandbox directories for each of the workers
    Workers.clean()