mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
python3 fixes for pgen import, ActiveTableRecord indentation, callable SerializationException
This commit is contained in:
parent
1f471ba7aa
commit
e980e8a170
4 changed files with 8 additions and 8 deletions
|
@ -118,6 +118,7 @@ class ThriftClientRouter(object):
|
||||||
# convert the bytearray to a byte string and load it.
|
# convert the bytearray to a byte string and load it.
|
||||||
geometries.append(shapely.wkb.loads(str(byteArrWKB)))
|
geometries.append(shapely.wkb.loads(str(byteArrWKB)))
|
||||||
|
|
||||||
|
|
||||||
retVal = []
|
retVal = []
|
||||||
for geoDataRecord in response.getGeoData():
|
for geoDataRecord in response.getGeoData():
|
||||||
geom = geometries[geoDataRecord.getGeometryWKBindex()]
|
geom = geometries[geoDataRecord.getGeometryWKBindex()]
|
||||||
|
|
|
@ -32,8 +32,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
__all__ = [
|
__all__ = ['SerializationException']
|
||||||
]
|
|
||||||
|
|
||||||
from . import dstypes, adapters
|
from . import dstypes, adapters
|
||||||
from . import DynamicSerializationManager
|
from . import DynamicSerializationManager
|
||||||
|
|
|
@ -6,6 +6,6 @@ __all__ = [
|
||||||
'RetrieveActivityMapResponse'
|
'RetrieveActivityMapResponse'
|
||||||
]
|
]
|
||||||
|
|
||||||
from ActivityMapData import ActivityMapData
|
from .ActivityMapData import ActivityMapData
|
||||||
from RetrieveActivityMapResponse import RetrieveActivityMapResponse
|
from .RetrieveActivityMapResponse import RetrieveActivityMapResponse
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue