THRIFT-1735 integrate tutorial into regular build
python and python twisted
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1402680 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/py.twisted/PythonServer.py b/tutorial/py.twisted/PythonServer.py
index 6130b92..f023cac 100755
--- a/tutorial/py.twisted/PythonServer.py
+++ b/tutorial/py.twisted/PythonServer.py
@@ -19,8 +19,9 @@
# under the License.
#
-import sys
-sys.path.append('../gen-py.twisted')
+import sys, glob
+sys.path.append('gen-py.twisted')
+sys.path.insert(0, glob.glob('../../lib/py/build/lib.*')[0])
from tutorial import Calculator
from tutorial.ttypes import *