Author: eallen
Date: 2009-05-13 12:46:29 -0400 (Wed, 13 May 2009)
New Revision: 3378
Modified:
mgmt/trunk/cumin/python/cumin/stat.py
Log:
Fix caching of slot maps
Modified: mgmt/trunk/cumin/python/cumin/stat.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/stat.py 2009-05-13 15:57:14 UTC (rev 3377)
+++ mgmt/trunk/cumin/python/cumin/stat.py 2009-05-13 16:46:29 UTC (rev 3378)
@@ -304,11 +304,11 @@
return writer.to_string()
def get_cached(self, session, zl):
- filename = self.gen_filename(session, zl)
+ filename = self.gen_filename(session)
return self.cache.find_recent(filename, self.max_png_age)
def cache_it(self, session, zl, map, args):
- filename = self.gen_filename(session, zl)
+ filename = self.gen_filename(session)
writer = self.cache.create_cache_file(filename, args)
map.write(writer)
Show replies by date