Commits

Takeshi Komiya committed b7bc070

* Fix failure with :maxwidth: option

  • Participants
  • Parent commits 7860782
  • Tags blockdiag-0.9.2

Comments (0)

Files changed (8)

File actdiag/setup.py

 
 setup(
     name='sphinxcontrib-actdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-actdiag',
     license='BSD',

File actdiag/sphinxcontrib/actdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("actdiag error: UnicodeEncodeError caught "

File blockdiag/setup.py

 
 setup(
     name='sphinxcontrib-blockdiag',
-    version='0.9.1',
+    version='0.9.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-blockdiag',
     license='BSD',

File blockdiag/sphinxcontrib/blockdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("blockdiag error: UnicodeEncodeError caught "

File nwdiag/setup.py

 
 setup(
     name='sphinxcontrib-nwdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-nwdiag',
     license='BSD',

File nwdiag/sphinxcontrib/nwdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("nwdiag error: UnicodeEncodeError caught "

File seqdiag/setup.py

 
 setup(
     name='sphinxcontrib-seqdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-seqdiag',
     license='BSD',

File seqdiag/sphinxcontrib/seqdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("seqdiag error: UnicodeEncodeError caught "