Commit 53ba9f1
Sebastian Ramacher
Use imp to get the suffix that should be dropped (Closes: #204).
Don't just drop the extension since Python 3 supports modules named like
foo.cpython-XY.so. Use the suffixes from imp.get_suffixes() instead.
--HG--
branch : 0.10-bugfix
extra : transplant_source : %D3%D9Jn%3C%F92%F5%AA%02%1E%EB%84%17%89%83%2A%ED%B5y1 parent cfbee0a commit 53ba9f1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
0 commit comments