Make the Python generator use non-hardcoded namespaces.
- Make the Python generator use program->get_namespace("py")
instead of program->get_py_module()
- Eliminate the explicit "py_module" in t_program.
- Deprecate the py_module token.
- Update example .thrift files and syntax files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665615 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/py/explicit_module/test1.thrift b/test/py/explicit_module/test1.thrift
index 316a173..864b95c 100644
--- a/test/py/explicit_module/test1.thrift
+++ b/test/py/explicit_module/test1.thrift
@@ -1,4 +1,4 @@
-py_module foo.bar.baz
+namespace py foo.bar.baz
struct astruct {
1: i32 how_unoriginal;