From 3b35c010f3d677e8dbee5e80e4fd492957f82b1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 9 Dec 2011 21:44:08 +0000 Subject: [PATCH] fix typos due to renaming to the final place git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx/pyx@3237 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- canvas.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/canvas.py b/canvas.py index 20b497af..0256e1b6 100644 --- a/canvas.py +++ b/canvas.py @@ -337,7 +337,7 @@ class canvas(_canvas): class layered_canvas(canvas): def __init__(self, **kwargs): - canvas.canvas.__init__(self, **kwargs) + canvas.__init__(self, **kwargs) self._layers = {} def layer(self, name): @@ -345,11 +345,11 @@ class layered_canvas(canvas): group, layer = name.split(".", 1) except ValueError: if not name in self._layers: - self._layers[name] = self.insert(Layer(texrunner=self.texrunner)) + self._layers[name] = self.insert(layered_canvas(texrunner=self.texrunner)) return self._layers[name] else: if not group in self._layers: - self._layers[group] = self.insert(Layer(texrunner=self.texrunner)) + self._layers[group] = self.insert(layered_canvas(texrunner=self.texrunner)) return self._layers[group].layer(layer) -- 2.11.4.GIT