def call(command, ignore_error=False):
    ret = os.system(command)
    if ((ret != 0) and (not ignore_error)):
        raise Exception(('Command failed: %s' % command))
def call(command, ignore_error=False):
    ret = os.system(command)
    if ((ret != 0) and (not ignore_error)):
        raise Exception(('Command failed: %s' % command))