Modify ↓
Opened 18 years ago
Closed 18 years ago
#575 closed enhancement (fixed)
[patch] digest base on options too
Reported by: | moo | Owned by: | Peter Kropf |
---|---|---|---|
Priority: | lowest | Component: | GraphvizPlugin |
Severity: | trivial | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
@@ -145,7 +146,7 @@ buf.write('<p>Graphviz macro processor error: requested format <b>(%s)</b> not valid.</p>' % self.out_format) return buf.getvalue() - sha_key = sha.new(self.processor + content).hexdigest() + sha_key = sha.new(self.processor + content + self.processor_options).hexdigest() img_name = '%s.%s.%s' % (sha_key, self.processor, self.out_format) # cache: hash.<dot>.<png> img_path = os.path.join(self.cache_dir, img_name) map_name = '%s.%s.map' % (sha_key, self.processor) # cache: hash.<dot>.map
this should allow user to test graphviz settings in trac.ini much easier
Attachments (0)
Note: See
TracTickets for help on using
tickets.
(In [1153]) Added processor options when calculating the sha hash key used as the image file name. Fixes #575.