andy_12_5042
Feb 02, 2011Nimbostratus
create a method parameter for protocol type
Is there a way I can properly do this below? I am trying to allow the protocol type to be defined in the call itself via a method. However, my lack of Python or in depth programming is killing me with this simple issue. What is the correct way to do this ?
vs_def.protocol = proto + "." + prot_type
TypeError: unsupported operand type(s) for +: 'instance' and 'str'