def _NodeInfoPreProc(node, args):
  assert len(args) == 2
  # The storage_units argument is either a dictionary with one value for each
  # node, or a fixed value to be used for all the nodes
  if type(args[0]) is dict:
    return [args[0][node], args[1]]
  else:
    return args
Test whether argument path is a Python script.
dataset/ETHPy150Open ganeti/ganeti/lib/rpc_defs.py/_NodeInfoPreProc--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/CGIHTTPServer.py/CGIHTTPRequestHandler.is_python