forked from dB-SPL/takprotobuf
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixes #14: Don't throw away ImportError in __init__.py
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
:source: <https://github.com/snstac/takproto> | ||
""" | ||
|
||
__version__ = "2.1.0" | ||
__version__ = "2.1.1-beta1" | ||
|
||
# Python 3.6 test/build work-around: | ||
try: | ||
|
@@ -42,12 +42,13 @@ | |
format_time, | ||
) | ||
from .constants import TAKProtoVer # NOQA | ||
except ImportError: | ||
except ImportError as exc: | ||
import warnings | ||
|
||
warnings.warn( | ||
"Unable to import required modules, ignoring (Python 3.6 build work-around)." | ||
"Unable to import required modules, IGNORING for Python 3.6 compat. Original Exception: " | ||
) | ||
warnings.warn(exc) | ||
|
||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
|