From d78c3abb5b6d8bf01a43cee53fcda4598874ab9c Mon Sep 17 00:00:00 2001
From: Doug Ihde <email@example.com>
Date: Fri, 19 Mar 2010 01:30:57 +0000
Subject: [PATCH 4/9] make port specification option in thrift-generated
python service client
The thrift-generated Python service client allows overriding the default host/port by doing "-h host:port" on the command line. Oftentimes, you want to override the host but not the port, as most services run on well-defined ports.
Run thrift generation code and test out the new client by doing "BlahService-remote -h somehost getStatus"
compiler/cpp/src/generate/t_py_generator.cc | 5 +++--
1 files changed, 3 insertions, 2 deletions