From 02b5aa0b041ddffdd95f465b71a98c4b22cf0636 Mon Sep 17 00:00:00 2001 From: Michael Schindler Date: Fri, 23 Feb 2007 12:33:25 +0000 Subject: [PATCH] fixed two typos git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2861 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/graph/data.py | 2 +- pyx/pattern.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyx/graph/data.py b/pyx/graph/data.py index e0245221..8b6b7f69 100644 --- a/pyx/graph/data.py +++ b/pyx/graph/data.py @@ -505,7 +505,7 @@ class function(_data): self.min = min self.max = max self.numberofpoints = points - self.context = context.copy() # be save on late evaluations + self.context = context.copy() # be safe on late evaluations m = self.assignmentpattern.match(expression) if m: self.yname, self.xname = m.groups() diff --git a/pyx/pattern.py b/pyx/pattern.py index 4c42c30e..a2b0cc1a 100644 --- a/pyx/pattern.py +++ b/pyx/pattern.py @@ -317,7 +317,7 @@ class PDFpattern(pdfwriter.PDFobject): import zlib content = zlib.compress(self.patternproc) else: - content = self.patterproc + content = self.patternproc file.write("/Length %i\n" % len(content)) if writer.compress: -- 2.11.4.GIT