From d194892f44e3feae5b2a4c9e9a877e139c1c965c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Lehmann?= Date: Mon, 27 Jun 2005 08:22:30 +0000 Subject: [PATCH] comment out explicit check for color.color git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2149 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/deco.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyx/deco.py b/pyx/deco.py index 655cbf50..fff39aa1 100644 --- a/pyx/deco.py +++ b/pyx/deco.py @@ -234,17 +234,17 @@ class decoratedpath(canvas.canvasitem): def _writestrokestyles(strokestyles, file=file): for style in strokestyles: - if isinstance(style, color.color): + #if isinstance(style, color.color): style.outputPDF(file, writer, context(fillattr=0)) - else: - style.outputPDF(file, writer, context) + #else: + # style.outputPDF(file, writer, context) def _writefillstyles(fillstyles, file=file): for style in fillstyles: - if isinstance(style, color.color): + #if isinstance(style, color.color): style.outputPDF(file, writer, context(strokeattr=0)) - else: - style.outputPDF(file, writer, context) + #else: + # style.outputPDF(file, writer, context) if self.strokestyles is None and self.fillstyles is None: raise RuntimeError("Path neither to be stroked nor filled") -- 2.11.4.GIT