Skip to content

Commit 07d8d53

Browse files
Fix pkgutil.get_data for sample-config
1 parent 80d86f2 commit 07d8d53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ def load_module(self, name):
245245
self.watcher.track_module(module.__file__)
246246
return module
247247

248+
def get_data(self, pathname):
249+
return open(pathname, "rb").read()
250+
248251

249252
class ImportFinder(object):
250253

0 commit comments

Comments
 (0)