Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly close js and css files after opening #1084

merged 1 commit into from Jan 27, 2017


None yet
2 participants
Copy link

basnijholt commented Jan 27, 2017

I often get warnings like:

/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/ ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/widgets/widgets.js' mode='r' encoding='UTF-8'>
  if f is not None )
/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/ ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/mpl/mplwidgets.js' mode='r' encoding='UTF-8'>
  if f is not None )
/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/ ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/tinkerer/Dropbox/Work/holoviews/holoviews/plotting/widgets/jsslider.css' mode='r' encoding='UTF-8'>
  for f in css if f is not None)

This PR should fix this.

@basnijholt basnijholt force-pushed the basnijholt:patch-3 branch from c0ff96a to 9d1e390 Jan 27, 2017


This comment has been minimized.

Copy link

philippjfr commented Jan 27, 2017

Good catch. Looks good to me, merging.

@philippjfr philippjfr merged commit c07680f into pyviz:master Jan 27, 2017

2 of 3 checks passed

s3-reference-data-cache Tests still building.
continuous-integration/travis-ci/pr The Travis CI build passed
coverage/coveralls Coverage increased (+0.005%) to 77.576%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.