def CallSetAllowedModule(name, desired):
  """Helper to call SetAllowedModule(name), after special-casing Django."""

  if USING_SDK and name == 'django':

    sys.path[:] = [dirname
                   for dirname in sys.path
                   if not dirname.startswith(os.path.join(
                       PYTHON_LIB, 'lib', 'django'))]




    if ('0.96', '1.2', '1.3') in desired:
      sys.path.insert(1, os.path.join(PYTHON_LIB, 'lib', 'django-' + desired))
  SetAllowedModule(name)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/dist/_library.py/CallSetAllowedModule/swapped operands of `in`