def buildTxtRecord(dic):
   return "".join([chr(len(s)) + s for s in
	   ("%s=%s" % (k, str(v)) for k, v in dic.iteritems())])
dataset/ETHPy150Open tzwenn/PyOpenAirMirror/common/register.py/buildTxtRecord/original