def update(config, args):
    url = config['url'] + "/api/testplan/" + args['testplan'] + "/"

    data = {}

    if args['name'] is not None:
        data['name'] = args['name']

    if args['description'] is not None:
        data['description'] = args['description']

    token = auth.get_token(config)
    r = requests.put(url, data=json.dumps(data), headers={"X-Auth-Token": token})
    print((r.status_code) % "API returned status code %s")
dataset/ETHPy150Open emccode/heliosburn/heliosburn/hbcli/controllers/testplan.py/update/swapped operands of `%`