Skip to content

Commit

Permalink
Make package importable with old param
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 13, 2019
1 parent 24b887c commit 3cb6a2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:

install:
- "SET PATH=%CONDA%;%CONDA%\\Scripts;%PATH%"
- "conda install -y -c pyviz pyctdev && doit ecosystem_setup && conda install %CHANS_DEV% param --yes"
- "conda install -y -c pyviz pyctdev && doit ecosystem_setup"
- "doit develop_install -o recommended -o tests %CHANS_DEV%"

build: off
Expand Down
4 changes: 2 additions & 2 deletions panel/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ def inline(self):
def inline(self, value):
self._inline = value


_params = _config.param.objects() if hasattr(_config.param, 'objects') else _config.params()
config = _config(**{k: None if p.allow_None else getattr(_config, k)
for k, p in _config.param.objects().items() if k != 'name'})
for k, p in _params.items() if k != 'name'})


class state(param.Parameterized):
Expand Down

0 comments on commit 3cb6a2e

Please sign in to comment.