From 5783024a920f33fad0c0c7d78e7524aec1b9bb21 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 27 Dec 2007 19:37:55 +0000 Subject: [PATCH 1/1] forcing int-ness on timeout value git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1185 9efc2488-bf62-4759-914b-345cdb29e865 --- src/python/osrf/cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/osrf/cache.py b/src/python/osrf/cache.py index 00fb831..a62f3e5 100644 --- a/src/python/osrf/cache.py +++ b/src/python/osrf/cache.py @@ -37,6 +37,7 @@ class CacheClient(object): global defaultTimeout if timeout is None: timeout = defaultTimeout + timeout = int(timeout) json = to_json(val) osrf.log.log_internal("cache: %s => %s" % (str(key), json)) return self.client.set(str(key), json, timeout) -- 2.43.2