Commit ecefe34
eager_importer: preserve existing lazy-imports eager table
Summary:
**BUG:** the eager imports list was being clobbered by an `eager_imports.install` call from configerator
**FIX:** Update `importlib.set_lazy_imports` to only pass in variables if they are set to avoid clobbering existing objects.
Reviewed By: ambv, alexmalyshev
Differential Revision: D107679841
fbshipit-source-id: 1d482be9ef1d8e7cf28827981b1dfb4d75845cca1 parent 3bfcf6c commit ecefe34
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
| |||
0 commit comments