def __init__(self, file_path):
    err_msg = ('\n%s\nexists\n' % file_path)
    err_msg += 'Use -f option to overwrite.'
    super(NoOverwriteException, self).__init__(err_msg)
def __init__(self, file_path):
    err_msg = ('\n%s\nexists\n' % file_path)
    err_msg += 'Use -f option to overwrite.'
    super(NoOverwriteException, self).__init__(err_msg)