def updateExceptions ( self, ch, key, resolution, exid, exceptions, update=False ):

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

    update = False

    if curexlist!=[]:
      oldexlist = [ ocplib.XYZMorton ( trpl ) for trpl in curexlist ]
      newexlist = [ ocplib.XYZMorton ( trpl ) for trpl in exceptions ]
      exlist = set(newexlist + oldexlist)
      exlist = [ ocplib.MortonXYZ ( zidx ) for zidx in exlist ]
      update = True
    else:
      exlist = exceptions

    self.putExceptions ( ch, key, resolution, exid, exlist, update )
Return a quoted (shell-escaped) version of the value which can be used as one token in a
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.updateExceptions--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/shell.py/quote_windows