This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Commit 1d9e02e
Skip over modules that don't have a __file__ field.
Otherwise, we get this error in deferred modules:
Traceback (most recent call last):
File "devtools/cdbg/debuglets/python/imphook2.py", line 339, in _InvokeImportCallbackBySuffix
mod_root = os.path.splitext(module.__file__)[0]
AttributeError: 'module' object has no attribute '__file__'
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=1853201641 parent 1e279f4 commit 1d9e02e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
324 | 329 | | |
325 | 330 | | |
326 | 331 | | |
| |||
0 commit comments