schemainspect icon indicating copy to clipboard operation
schemainspect copied to clipboard

Fix: an existing index == None should return False

Open SKalt opened this issue 3 years ago • 3 comments

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.

SKalt avatar Apr 19 '21 20:04 SKalt

looks like all the circleci tests are failing with

sudo apt-get install -y postgresql-client
# E: Failed to fetch http://deb.debian.org/debian/pool/main/d/distro-info-data/distro-info-data_0.41+deb10u2_all.deb  404  # Not Found [IP: 199.232.166.132 80]
# E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

SKalt avatar Apr 19 '21 20:04 SKalt

@djrobstep, requesting a review

SKalt avatar May 14 '21 19:05 SKalt

^ same problem

SKalt avatar Aug 31 '21 14:08 SKalt