def _on_idle(self):
    if not self.action():
      return None
    return True
Excape quotes and percent in given string.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/context.py/AutoBatcher._on_idle--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.escape