def coverage(html='1'):
    """Runs coverage with html output or returns percentage of coverage."""
    apps = _get_test_apps()
    command = _get_test_command(apps=','.join(apps))
    local((','.join(apps), command) % 'coverage run --source=%s %s')
    if html == '1':
        local('coverage html')
        local('xdg-open htmlcov/index.html')
dataset/ETHPy150Open bitmazk/webfaction-django-boilerplate/website/webapps/django/project/fabfile/local.py/coverage/swapped operands of `%`