rotmodel.py doesn't catch timeout

0 views
Skip to first unread message

olex13

unread,
Nov 30, 2009, 10:07:25 AM11/30/09
to appengine-utilities
Hi,

I used gaeutilities to retry datastore operation on timeout but ir
seems there is an error in implementation.

Look at rotmodel.py

I think in code like this:

try:
return db.Model.get(keys)
except db.Timeout():
...

You should write "except: db.Timeout" without brackets

BR, Olex

Joe Bowman

unread,
Nov 30, 2009, 10:00:52 PM11/30/09
to appengine-utilities
I'll take a look and see if I can get the master branch on github
updated this week

Joe Bowman

unread,
Dec 9, 2009, 9:19:34 PM12/9/09
to appengine-utilities
sorry, way overdue, but this is patched in the master branch on github

olex13

unread,
Jan 22, 2010, 8:25:26 AM1/22/10
to appengine-utilities
Reply all
Reply to author
Forward
0 new messages