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

Fix: Remove unused local variables #1105

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gvm/protocols/ospv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def start_scan(
_xmltarget.add_element("hosts", hosts)
_xmltarget.add_element("ports", ports)
if credentials:
_xmlcredentials = create_credentials_element(
create_credentials_element(
_xmltarget.add_element("credentials"), credentials
)
# Check target as attribute for legacy mode compatibility. Deprecated.
Expand All @@ -264,7 +264,7 @@ def start_scan(
)

if vt_selection:
_xmlvtselection = create_vt_selection_element(
create_vt_selection_element(
cmd.add_element("vt_selection"), vt_selection
)

Expand Down