Skip to content

Commit

Permalink
style: Apply PEP-8 style to some modules #2462
Browse files Browse the repository at this point in the history
  • Loading branch information
jmv74211 committed Jan 25, 2022
1 parent 215869f commit 65e0cb1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion deps/wazuh_testing/wazuh_testing/db_interface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
CVE_DB_PATH = os.path.join(wazuh_testing.WAZUH_PATH, 'queue', 'vulnerabilities', 'cve.db')



def query_wdb(command):
"""Make queries to wazuh-db using the wdb socket.
Expand Down
1 change: 0 additions & 1 deletion deps/wazuh_testing/wazuh_testing/db_interface/global_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ def delete_agent(agent_id):
agent_id (str): Agent ID.
"""
query_wdb(f"global sql DELETE FROM agent where id={int(agent_id)}")

Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def calculate_severity_from_score(base_score, cvss):
return severity


def find_cve_severity_score (cve_array, cve_id):
def find_cve_severity_score(cve_array, cve_id):
"""Get the CVE severity and score.
Args:
Expand Down

0 comments on commit 65e0cb1

Please sign in to comment.