def _ConvertPattern(value):
  if isinstance(value, UriPattern):
    return "(%s)" % value.content
  else:
    return value
Return state information for pickling
dataset/ETHPy150Open ganeti/ganeti/lib/rapi/connector.py/_ConvertPattern--crossover with--dataset/ETHPy150Open baseblack/ReproWeb/3rdParty/python/ordereddict.py/OrderedDict.__reduce__