Commit fa73942
Bugfix with undefined children_hooks when package is None
touch_import_top() is always called with a package within
the futurize codebase, but it does have a code path where
package can be None (e.g. import six instead of from six
import string_types). Fixed a minor bug in this code path,
so that a custom fixer can use it.
Change-Id: Iec2891586fe852e35a91c69d2fb146645d7c53dd1 parent f8c4c7d commit fa73942
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
| |||
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
416 | | - | |
417 | | - | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
| |||
0 commit comments