def chkopts(opts):
    if not opts.name:
        raise KssCommandOptException('ERROR: %s option is required.' % '-n or --name')
    if not opts.target:
        raise KssCommandOptException('-t or --target' % 'ERROR: %s option is required.')
dataset/ETHPy150Open karesansui/karesansui/bin/delete_disk.py/chkopts/swapped operands of `%`