Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F841 local variable 'parse_cmd_body' is assigned to but never used #295

Open
mgheorghe opened this issue Apr 9, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@mgheorghe
Copy link
Contributor

DentOS_Framework/DentOsTestbedLib/gen/plugins/test/plugin.py:276:13: F841 local variable 'parse_cmd_body' is assigned to but never used

looks like instead of format_cmd_body it should be parse_cmd_body in the PyMethod call

            parse_cmd_body = tokenize(py_impl_class_common_parse_cmd % cargs)
            methods.append(
                PyMethod(
                    'parse_%s' % cmd.name, 'self, command, output, *argv, **kwarg', format_cmd_body, indent=4,
                )
            )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants