Permalink
Browse files

redmine: re-added cache usage in case of connectivity issues

  • Loading branch information...
1 parent 18ea8d1 commit 230e3ff1451b636fd6c1610560a904498bbe94bd @dnet committed Apr 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 redmine.py
View
2 redmine.py
@@ -80,4 +80,6 @@ def getTodos(self):
base64.b64encode(cPickle.dumps(todos, -1)))
except NotModified:
todos = getCache()
+ except requests.exceptions.ConnectionError:
+ todos = getCache()
return todos

0 comments on commit 230e3ff

Please sign in to comment.