Skip to content

Commit

Permalink
Write warning instead of raising if pypiwin32 is not available on Win…
Browse files Browse the repository at this point in the history
…dows
  • Loading branch information
osherdp committed Dec 22, 2017
1 parent a661d33 commit a14bfae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/rotest/common/django_utils/ut_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
win32file._setmaxstdio(2048)

except ImportError:
raise RuntimeError("Cannot find package 'win32file'. Install it using "
"'pip install pypiwin32'")
core_log.warning("Cannot find package 'win32file'. Install it using "
"'pip install pypiwin32'")
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ deps =
sphinx
sphinx-autobuild
sphinx_rtd_theme
win32: pypiwin32

changedir = docs/

Expand Down

0 comments on commit a14bfae

Please sign in to comment.