Skip to content

Commit e192fd3

Browse files
RotemAmitomerKarkKatz
authored andcommitted
Fix additional ruff errors (#38144)
* E721 * rn * update rn
1 parent 9203970 commit e192fd3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#### Scripts
2+
3+
##### TroubleshootExecutePlaybookByAlertQuery
4+
Improve code functionality.

Packs/Troubleshoot/Scripts/TroubleshootExecutePlaybookByAlertQuery/TroubleshootExecutePlaybookByAlertQuery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def handle_results(command_results: dict, playbook_id: str, alert_ids: str | lis
173173
try:
174174
result_dict = command_results[0].get('Contents', {})
175175
if isinstance(alert_ids, str):
176-
if type(result_dict) == str:
176+
if type(result_dict) is str:
177177
results_summary.update_failure_create(playbook_id, alert_ids)
178178
return None
179179

Packs/Troubleshoot/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Troubleshoot",
33
"description": "Use this pack to troubleshoot your environment.",
44
"support": "xsoar",
5-
"currentVersion": "2.1.6",
5+
"currentVersion": "2.1.7",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)