More modifications to the source v20 python code

- DataAccessLayer will have more changes to come to re-incorporate MJs changes, but for now, change the THRIFT_HOST to "edex"
- EnumSet has to use collections.abc import instead of collections to be compatible with newer versions of python (3.10)
This commit is contained in:
Shay Carter 2023-08-23 12:41:20 -06:00
parent 29715baccc
commit 018afefee6
2 changed files with 3 additions and 6 deletions

View file

@ -49,10 +49,7 @@ import sys
import subprocess
import warnings
THRIFT_HOST = subprocess.check_output(
"source /awips2/fxa/bin/setup.env; echo $DEFAULT_HOST",
shell=True).decode().strip()
THRIFT_HOST = "edex"
USING_NATIVE_THRIFT = False

View file

@ -37,10 +37,10 @@
# values to your EnumSet.
##
import collections
import collections.abc
class EnumSet(collections.MutableSet):
class EnumSet(collections.abc.MutableSet):
def __init__(self, enumClassName, iterable=[]):
self.__enumClassName = enumClassName