Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 5e6e659

Browse files
committed
fix(thrift): automate py3 compatibility
Signed-off-by: Jeremy White <[email protected]>
1 parent fc615e8 commit 5e6e659

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ thrift: idl-submodule thrift-image
8383
${THRIFT} -o /data --gen py:${THRIFT_PY_ARGS} -out /data/$(THRIFT_GEN_DIR) /data/idl/thrift/zipkinCore.thrift
8484
${THRIFT} -o /data --gen py:${THRIFT_PY_ARGS} -out /data/$(THRIFT_GEN_DIR) /data/idl/thrift/agent.thrift
8585
${THRIFT} -o /data --gen py:${THRIFT_PY_ARGS} -out /data/$(THRIFT_GEN_DIR) /data/idl/thrift/sampling.thrift
86+
find jaeger_client/thrift_gen -iname '*.py' -exec sed -i.bak 's/from ttype/from .ttype/g' {} \;
87+
rm jaeger_client/thrift_gen/{**/*.bak,*.bak}
8688
rm -rf ${THRIFT_GEN_DIR}/*/*-remote
8789

8890
update-license:

0 commit comments

Comments
 (0)