Update function name to better reflect what it does

This commit is contained in:
leigh-mil
2019-12-18 10:54:00 -05:00
parent d300ccf31b
commit f543602076
4 changed files with 10 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ def pick(keys, dct):
return {k: v for (k, v) in dct.items() if k in _keys}
def update_or_raise_already_exists_error(message):
def commit_or_raise_already_exists_error(message):
try:
db.session.commit()
except IntegrityError: