Skip to content

Commit

Permalink
use OSError instead of IOError for python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jwkvam committed Feb 11, 2018
1 parent a557477 commit 1d65b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bowtie/templates/server.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ from bowtie._component import COMPONENT_REGISTRY
try:
FileNotFoundError
except NameError:
FileNotFoundError = IOError
FileNotFoundError = OSError


class GetterNotDefined(AttributeError):
Expand Down
2 changes: 1 addition & 1 deletion doc/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To install bleeding edge, if you are using Python 3 you can use `flit <http://fl
If you are on Python 2, create a wheel with flit in Python 3, then
install that wheel with Python 2::

py3> flit wheel
py3> flit build
py2> pip install dist/bowtie*.whl

Install Yarn
Expand Down

0 comments on commit 1d65b7f

Please sign in to comment.