python: fix use of undeclared variables in python scripts
docs/apibuild.py:2436:65: F821 undefined name 'first_letter'
chunks.append(["chunk%s" % (chunk - 1), first_letter, letter])
^
src/hyperv/hyperv_wmi_generator.py:415:57: F821 undefined name 'number'
report_error("line %d: invalid block header" % (number))
^
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
Showing
想要评论请 注册 或 登录