From 6fce7ae3a07b017be0ef9ef3348701451074b636 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 31 Dec 2012 16:04:58 +0100 Subject: [PATCH] Simplify pseudo-constants' value. --- product/ERP5Type/Tool/MemcachedTool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5Type/Tool/MemcachedTool.py b/product/ERP5Type/Tool/MemcachedTool.py index bd944eefaa..5555ee0e31 100644 --- a/product/ERP5Type/Tool/MemcachedTool.py +++ b/product/ERP5Type/Tool/MemcachedTool.py @@ -57,9 +57,9 @@ if memcache is not None: from Products.PythonScripts.Utility import allow_class from zLOG import LOG - MARKER = tuple() - UPDATE_ACTION = 'update' - DELETE_ACTION = 'delete' + MARKER = object() + DELETE_ACTION = 0 + UPDATE_ACTION = 1 class MemcachedDict(TM): """ -- 2.30.9