anchor.diff:  from <%= @mda.py_modulename %> import <%= @mda.py_classname %>Factory as Factory
   
   class <%= @mda.camelname %>Handler:
  -    server = None
   
       def __init__(self):
           factory = Factory()
  
positive.code:     <% end %>
      <% end %>
  
  parser = OptionParser()
  parser.add_option("-p", "--port", type="int",
                    dest="port", default=<%= @server_port %>,
                    help="server listening port number")
  (options, args) = parser.parse_args()
  
  handler = <%= @mda.camelname %>Handler()
  processor = <%= @mda.camelname %>Service.Processor(handler)
  transport = TSocket.TServerSocket('0.0.0.0', port=options.port)
  tfactory = TTransport.TBufferedTransportFactory()
  pfactory = TBinaryProtocol.TBinaryProtocolFactory()
  
  server = handler.server = TServer.TSimpleServer(processor, transport, tfactory, pfactory)
  
  print("Start <%= @mda.py_classname %> analysis server listening on port {}".format(options.port))
  server.serve()
  print("done!")
  
negative.code: #!/usr/bin/env python
  from thrift.transport import TSocket
  from thrift.transport import TTransport
  from thrift.protocol import TBinaryProtocol
  