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