Skip to content

Commit

Permalink
Fix: Remove unused local variables
Browse files Browse the repository at this point in the history
This removes some additional unused variables in the OSP protocol
class.
  • Loading branch information
timopollmeier authored and greenbonebot committed Dec 19, 2023
1 parent 75a74bb commit d2c3e50
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit d2c3e50

Please sign in to comment.