python3 fixes for pgen import, ActiveTableRecord indentation, callable SerializationException

This commit is contained in:
Michael James 2016-10-18 23:24:06 -05:00
parent 1f471ba7aa
commit e980e8a170
4 changed files with 8 additions and 8 deletions

View file

@ -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()]

View file

@ -32,8 +32,7 @@
# #
# #
__all__ = [ __all__ = ['SerializationException']
]
from . import dstypes, adapters from . import dstypes, adapters
from . import DynamicSerializationManager from . import DynamicSerializationManager

View file

@ -6,6 +6,6 @@ __all__ = [
'RetrieveActivityMapResponse' 'RetrieveActivityMapResponse'
] ]
from ActivityMapData import ActivityMapData from .ActivityMapData import ActivityMapData
from RetrieveActivityMapResponse import RetrieveActivityMapResponse from .RetrieveActivityMapResponse import RetrieveActivityMapResponse