284
284
module_path = as_hunks[0].strip().split('.')
286
286
raise errors.ImportNameCollision(name)
287
289
# No children available in 'import foo as bar'
288
290
self.imports[name] = (module_path, None, {})
291
293
module_path = path.split('.')
293
297
if name not in self.imports:
294
298
# This is a new import that we haven't seen before
295
299
module_def = ([name], None, {})