Skip to content

Commit

Permalink
py2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 20, 2020
1 parent fafdc5e commit 22ed93b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel/pane/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ def _update_inner(self, new_object):
for awatchers in pwatchers.values() for w in awatchers
]
custom_watchers = not all(
'Reactive._link_params' in wfn or 'PaneBase._update_pane' in wfn
for wfn in watch_fns
'Reactive._link_params' in wfn or '._update_pane' in wfn or
'param_change' in wfn for wfn in watch_fns
)

if type(self._pane) is pane_type and not links and not custom_watchers and self._internal:
Expand Down
2 changes: 2 additions & 0 deletions panel/tests/test_param.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import print_function

import os

import param
Expand Down

0 comments on commit 22ed93b

Please sign in to comment.