def UnifyValueType(data):
  if isinstance(data, (tuple, list)):
    return [UnifyValueType(i) for i in data]

  elif isinstance(data, dict):
    return dict([(UnifyValueType(key), UnifyValueType(value))
                 for (key, value) in data.iteritems()])

  return data
Return the timeout to use
dataset/ETHPy150Open ganeti/ganeti/test/py/testutils/__init__.py/UnifyValueType--crossover with--dataset/ETHPy150Open saltstack/salt/salt/client/__init__.py/LocalClient._get_timeout