mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/bpython: cleaning old
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
diff -r -U2 bpython-0.14.orig/bpython/curtsiesfrontend/repl.py bpython-0.14/bpython/curtsiesfrontend/repl.py
|
||||
--- bpython-0.14.orig/bpython/curtsiesfrontend/repl.py 2015-02-17 05:07:38.000000000 +0600
|
||||
+++ bpython-0.14/bpython/curtsiesfrontend/repl.py 2015-02-19 00:09:13.758932344 +0600
|
||||
@@ -420,7 +420,9 @@
|
||||
# for reading modules if they fail to load
|
||||
old_module_locations = {}
|
||||
+ default_level = 0 if py3 else -1
|
||||
|
||||
@functools.wraps(self.orig_import)
|
||||
- def new_import(name, globals={}, locals={}, fromlist=[], level=-1):
|
||||
+ def new_import(name, globals={}, locals={}, fromlist=[],
|
||||
+ level=default_level):
|
||||
try:
|
||||
m = self.orig_import(name, globals=globals, locals=locals,
|
||||
Reference in New Issue
Block a user