Commit 1c7c7ce
renaud gaudin
Use fullname instead of path in ModuleFinder
Hacking around the path for loading our modules is fragile as there are stuff
relying on its value to consider it a package.
`help(libzim)` for instance is broken as it can't enumerate it properly.
This is simpler, less hacky and fixes the module's docstring which is important
for self-discovery.1 parent c3fcbde commit 1c7c7ce
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
1148 | 1156 | | |
1149 | 1157 | | |
1150 | 1158 | | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1155 | 1163 | | |
1156 | 1164 | | |
1157 | 1165 | | |
| |||
0 commit comments