Skip to content

Commit

Permalink
This method was broken on notebook 4, fixing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Shawver committed Aug 22, 2018
1 parent d6cdec9 commit 91d2d4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pgcontents/pgmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ def _default_checkpoints_class(self):

@default('checkpoints_kwargs')
def _default_checkpoints_kwargs(self):
kw = super(PostgresContentsManager, self)._default_checkpoints_kwargs()
klass = PostgresContentsManager
try:
kw = super(klass, self)._checkpoints_kwargs_default()
except AttributeError:
kw = super(klass, self)._default_checkpoints_kwargs()

kw.update({
'create_user_on_startup': self.create_user_on_startup,
'crypto': self.crypto,
Expand Down

0 comments on commit 91d2d4c

Please sign in to comment.