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