Commit adb3bb1
committed
remove some unreachable code. If condition is always the same.
There is a test:
if not value: continue
then there is code below that at the same level that tests for:
if value:
and
if value is None:
Neither of these tests can be anything but the static values of True
and False respectively. Simplify code by removing the tests.1 parent d3deaff commit adb3bb1
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
799 | 796 | | |
800 | | - | |
801 | 797 | | |
802 | 798 | | |
803 | 799 | | |
| |||
0 commit comments