File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ ## mysql-0.2 2017-11-21
4
+
5
+ * Fixed a compatibility issue for notebook 5.x
6
+
7
+ ## mysql-0.1 2016-12-04
8
+
9
+ Port pgcontents to support mysql.
Original file line number Diff line number Diff line change @@ -78,7 +78,12 @@ def _checkpoints_class_default(self):
78
78
return PostgresCheckpoints
79
79
80
80
def _checkpoints_kwargs_default (self ):
81
- kw = super (PostgresContentsManager , self )._checkpoints_kwargs_default ()
81
+ if hasattr (ContentsManager , '_default_checkpoints_kwargs' ):
82
+ # for newer version of notebook
83
+ kw = super (PostgresContentsManager , self )._default_checkpoints_kwargs ()
84
+ else :
85
+ # for older version of notebook
86
+ kw = super (PostgresContentsManager , self )._checkpoints_kwargs_default ()
82
87
kw .update (
83
88
{
84
89
'db_url' : self .db_url ,
You can’t perform that action at this time.
0 commit comments