Skip to content

Commit

Permalink
Merge pull request #1415 from fetchai/fix/993
Browse files Browse the repository at this point in the history
update duplicate skill model classes check
  • Loading branch information
DavidMinarsch authored Jun 24, 2020
2 parents 984d3da + 263b88b commit 925bf26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aea/skills/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ def parse_module(
filter(
lambda x: any(re.match(shared, x[0]) for shared in model_names)
and Model in inspect.getmro(x[1])
and not str.startswith(x[1].__module__, "aea."),
and not str.startswith(x[1].__module__, "aea.")
and not str.startswith(x[1].__module__, "packages."),
classes,
)
)
Expand Down

0 comments on commit 925bf26

Please sign in to comment.