##// END OF EJS Templates
Update docstring for @catch_corrupt_db decorator
Thomas Kluyver -
Show More
@@ -71,8 +71,8 b' else:'
71 71 @decorator
72 72 def catch_corrupt_db(f, self, *a, **kw):
73 73 """A decorator which wraps HistoryAccessor method calls to catch errors from
74 a corrupt SQLite database, move the old database out of the way, create a
75 new one, and optionally retry the function.
74 a corrupt SQLite database, move the old database out of the way, and create
75 a new one.
76 76 """
77 77 try:
78 78 return f(self, *a, **kw)
General Comments 0
You need to be logged in to leave comments. Login now