def release_lock_with_path(self, path):
    try:
      self.run_with_retry(self.handle.delete, path)
    except kazoo.exceptions.NoNodeError:
      raise ZKTransactionException("Unable to delete lock: {0}".format(path))
    except kazoo.exceptions.SystemZookeeperError as sys_exception:
      logging.exception(sys_exception)
      self.reestablish_connection()
      return False
    except kazoo.exceptions.KazooException as kazoo_exception:
      logging.exception(kazoo_exception)
      self.reestablish_connection()
      return False
    except SystemError as sys_exception:
      logging.exception(sys_exception)
      self.reestablish_connection()
      return False
    except Exception as exception:
      logging.exception(exception)
      self.reestablish_connection()
      return False
    return True
Releases lock based on path.
dataset/ETHPy150Open AppScale/appscale/AppDB/zkappscale/zktransaction.py/ZKTransaction.release_lock_with_path