Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taion committed Oct 4, 2019
1 parent fa65632 commit b2ad190
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
language: python
dist: xenial

language: python
python:
- "3.6"
- "3.7"
- "3.6"

env:
- TOXENV=py-s3

matrix:
include:
- python: "3.7"
env: TOXENV=lint
- python: "3.7"
env: TOXENV=py-base
- python: "pypy3"
env: TOXENV=py-s3
- env: TOXENV=lint
- env: TOXENV=py-base
- python: pypy3

cache: pip

Expand Down
2 changes: 1 addition & 1 deletion flask_annex/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _ensure_key_dir(self, key):

# Verify that we aren't trying to create the root path.
if not os.path.exists(self._root_path):
raise IOError(
raise FileNotFoundError(
f"root path {self._root_path} does not exist",
)

Expand Down

0 comments on commit b2ad190

Please sign in to comment.