I thinks this is a better patch (because the moinmoin plug-in should select a format explicitly):
[------- CUT HERE ------] === modified file 'examples/moinmoin/aafig.py' --- examples/moinmoin/aafig.py 2009-07-04 00:11:26 +0000 +++ examples/moinmoin/aafig.py 2009-10-28 15:22:46 +0000 @@ -44,7 +44,7 @@ key = 'aafigure_%s' % (cache.key(self.request, itemname=self.pagename, content="%s%s" % (self.raw, self.args)),) if not cache.exists(self.request, key) or not cache.exists(self.request, key+'_size'): # not in cache, regenerate image - options = {} + options = dict(format='svg') for arg in self.args.split(): try: k, v = arg.split('=', 1)
[------- CUT HERE ------]
I don't have moinmoin to test it though, so if you can try it it will be appreciated. Chris, if this patch looks OK to you I can apply it.
I thinks this is a better patch (because the moinmoin plug-in should select a format explicitly):
[------- CUT HERE ------] moinmoin/ aafig.py' moinmoin/ aafig.py 2009-07-04 00:11:26 +0000 moinmoin/ aafig.py 2009-10-28 15:22:46 +0000 key(self. request, itemname= self.pagename, content="%s%s" % (self.raw, self.args)),) self.request, key) or not cache.exists( self.request, key+'_size'):
try:
k, v = arg.split('=', 1)
=== modified file 'examples/
--- examples/
+++ examples/
@@ -44,7 +44,7 @@
key = 'aafigure_%s' % (cache.
if not cache.exists(
# not in cache, regenerate image
- options = {}
+ options = dict(format='svg')
for arg in self.args.split():
[------- CUT HERE ------]
I don't have moinmoin to test it though, so if you can try it it will be appreciated. Chris, if this patch looks OK to you I can apply it.