Show More
@@ -109,9 +109,9 b' def demandload(scope, modules):' | |||||
109 | mod = mod[:col] |
|
109 | mod = mod[:col] | |
110 | else: |
|
110 | else: | |
111 | fromlist = [] |
|
111 | fromlist = [] | |
112 | as = None |
|
112 | as_ = None | |
113 | if '@' in mod: |
|
113 | if '@' in mod: | |
114 | mod, as = mod.split("@") |
|
114 | mod, as_ = mod.split("@") | |
115 | importer = _importer(scope, mod, fromlist) |
|
115 | importer = _importer(scope, mod, fromlist) | |
116 | if fromlist: |
|
116 | if fromlist: | |
117 | for name in fromlist: |
|
117 | for name in fromlist: | |
@@ -130,6 +130,6 b' def demandload(scope, modules):' | |||||
130 | continue |
|
130 | continue | |
131 | else: |
|
131 | else: | |
132 | basemod = mod |
|
132 | basemod = mod | |
133 | if not as: |
|
133 | if not as_: | |
134 | as = basemod |
|
134 | as_ = basemod | |
135 | scope[as] = _replacer(importer, as) |
|
135 | scope[as_] = _replacer(importer, as_) |
General Comments 0
You need to be logged in to leave comments.
Login now