Commit 114e6aa
Fix: an existing index == None should return False
While using `migra`, I got the following error: `AttributeError: 'NoneType' object has no attribute 'name'`. Using `pdb`, I determined that the error arose when a table with an index was compared to one without an index. This patch eliminated the error.1 parent fc8d925 commit 114e6aa
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
| |||
0 commit comments