Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed May 6, 2020
1 parent 208f438 commit e154cb3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion assemblyline_ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# IDE files
.pydevproject
.coverage
.python-version
.idea

Expand Down
2 changes: 1 addition & 1 deletion assemblyline_ui/api/v4/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def add_service(**_):
heuristic = Heuristic(heuristic)
heuristic_id = heuristic.heur_id
plan.add_upsert_operation(heuristic_id, heuristic)
except Exception as e:
except Exception:
raise ValueError("Error parsing heuristics")

for item in STORAGE.heuristic.bulk(plan)['items']:
Expand Down
1 change: 0 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import time
import os
from json import JSONDecodeError

Expand Down

0 comments on commit e154cb3

Please sign in to comment.