Skip to content

Commit

Permalink
Merge pull request #170 from raphaelahrens/master
Browse files Browse the repository at this point in the history
An empty threat model with ignoreUnused throws an error
  • Loading branch information
izar authored Sep 7, 2021
2 parents 15286ad + 7d850b0 commit 904fe1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytm/pytm.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ def _sort(flows, addOrder=False):


def _sort_elem(elements):
if len(elements) == 0:
return elements
orders = {}
for e in elements:
try:
Expand Down

0 comments on commit 904fe1a

Please sign in to comment.