Update records to use new code from pylint fixes
Merge pull request #896 from elyezer/fix-records

Update records to use new code from pylint fixes