mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
removed depreciated python 3 feature
has_key has been removed from dict and no longer works as of Python 3.5. in is the new preferred syntax.
This commit is contained in:
parent
b9a9ac784e
commit
bb6dfb0970
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ import subprocess
|
|||
THRIFT_HOST = "edex"
|
||||
USING_NATIVE_THRIFT = False
|
||||
|
||||
if sys.modules.has_key('jep'):
|
||||
if 'jep' in sys.modules:
|
||||
# intentionally do not catch if this fails to import, we want it to
|
||||
# be obvious that something is configured wrong when running from within
|
||||
# Java instead of allowing false confidence and fallback behavior
|
||||
|
|
Loading…
Add table
Reference in a new issue