Commit e79b6d1c authored by Evan Simpson's avatar Evan Simpson

Make client caches respect CLIENT_HOME

parent 88c9cabe
......@@ -144,7 +144,7 @@ file 0 and file 1.
"""
__version__ = "$Revision: 1.13 $"[11:-2]
__version__ = "$Revision: 1.14 $"[11:-2]
import os, tempfile
from struct import pack, unpack
......@@ -164,8 +164,10 @@ class ClientCache:
if client:
# Create a persistent cache
if var is None:
try: var=os.path.join(INSTANCE_HOME,'var')
except: var=os.getcwd()
try: var=CLIENT_HOME
except:
try: var=os.path.join(INSTANCE_HOME,'var')
except: var=os.getcwd()
# Get the list of cache file names
self._p=p=map(lambda i, p=storage, var=var, c=client:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment