<s> """<STR_LIT>""" <EOL> import sys <EOL> import time <EOL> from app import app <EOL> from compat import iteritems <EOL> from constants import THREADS_KEY <EOL> from utils import build_key <EOL> def main ( ) : <EOL> """<STR_LIT>""" <EOL> start_time = time . time ( ) <EOL> print ( '<STR_LIT>' ) <EOL> with app . app_context ( ) : <EOL> import storage <EOL> for thread_uid , thread in iteritems ( storage . list_threads ( ) ) : <EOL> storage . delete_thread ( thread_uid ) <EOL> print ( '<STR_LIT>' . <EOL> format ( thread_uid , thread [ '<STR_LIT>' ] ) ) <EOL> storage . links . delete ( build_key ( THREADS_KEY ) ) <EOL> print ( '<STR_LIT>' . <EOL> format ( time . time ( ) - start_time ) ) <EOL> return False <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> sys . exit ( int ( main ( ) ) ) </s>
