Skip to content

Commit

Permalink
Replace deprecated load() with resolve()
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaballeror committed Nov 13, 2019
1 parent 1722679 commit 5d676bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_swagger_spec.py
Expand Up @@ -19,7 +19,7 @@
args = parser.parse_args()

def run():
app = pkg_resources.EntryPoint.parse("x=%s" % args.app).load(False)
app = pkg_resources.EntryPoint.parse("x=%s" % args.app).resolve()

# load the base template
template = None
Expand Down

0 comments on commit 5d676bc

Please sign in to comment.