import time
import sys

ERROR_OCCURRED_TEMPLATE = '''
------------------------------
An unexpected error has occurred.
Please try this following.

{err}
------------------------------
'''

def force_abort(limit=3):
    print('Automatically abort after {} seconds.'.format(str(limit)))
    for cnt in range(limit):
        sys.stdout.write('#')
        sys.stdout.flush()
        time.sleep(1)
    sys.exit('\nAbort.')

f5c8985f3f523339aa84ac20a87ed282efc4683c
<mask token>

<mask token>


def force_abort(limit=3):
    print('Automatically abort after {} seconds.'.format(str(limit)))
    for cnt in range(limit):
        sys.stdout.write('#')
        sys.stdout.flush()
        time.sleep(1)
    sys.exit('\nAbort.')

<mask token>
ERROR_OCCURRED_TEMPLATE = """
------------------------------
An unexpected error has occurred.
Please try this following.

{err}
------------------------------
"""


def force_abort(limit=3):
    print('Automatically abort after {} seconds.'.format(str(limit)))
    for cnt in range(limit):
        sys.stdout.write('#')
        sys.stdout.flush()
        time.sleep(1)
    sys.exit('\nAbort.')

import time
import sys
ERROR_OCCURRED_TEMPLATE = """
------------------------------
An unexpected error has occurred.
Please try this following.

{err}
------------------------------
"""


def force_abort(limit=3):
    print('Automatically abort after {} seconds.'.format(str(limit)))
    for cnt in range(limit):
        sys.stdout.write('#')
        sys.stdout.flush()
        time.sleep(1)
    sys.exit('\nAbort.')

import time
import sys

ERROR_OCCURRED_TEMPLATE = '''
------------------------------
An unexpected error has occurred.
Please try this following.

{err}
------------------------------
'''

def force_abort(limit=3):
    print('Automatically abort after {} seconds.'.format(str(limit)))
    for cnt in range(limit):
        sys.stdout.write('#')
        sys.stdout.flush()
        time.sleep(1)
    sys.exit('\nAbort.')
