def removeExceptions ( self, ch, key, resolution, entityid, exceptions ):

    curexlist = self.getExceptions(ch, key, resolution, entityid) 

    if curexlist != []:

      oldexlist = set([ ocplib.XYZMorton ( trpl ) for trpl in curexlist ])
      newexlist = set([ ocplib.XYZMorton ( trpl ) for trpl in exceptions ])
      exlist = oldexlist-newexlist
      exlist = [ ocplib.MortonXYZ ( zidx ) for zidx in exlist ]

      self.putExceptions ( ch, key, resolution, exid, exlist, True )
Sets the port for a backend [instance] in the dev_appserver.
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.removeExceptions--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/backends/backends.py/_set_dev_port