we need try, except to handle local datastore use

This reverts commit 129aec805528f1cba3c6ac73c7363421d35e38d2.
pep8