Used pylint output to improve db_utils.py code quality from 6.67/10 to 9.06/10 with no functional changes.