Skip to content
Myr

Add back path=None argument into find_module. This fixes #618 and revert #524.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Quentin Roy · committed by Quentin Roy · parent 8339cb3 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:scripts/flaskext_compat.py+1 added-1 removed
42 unmodified lines
4344 def install(self):45 sys.meta_path[:] = [x for x in sys.meta_path if self != x] + [self]4647 def find_module(self, fullname):47 def find_module(self, fullname, path=None):48 if fullname.startswith(self.prefix):49 return self5051 def load_module(self, fullname):
74 unmodified lines