From 6e699c00e8b1af0c613941c2f4a80ba00c16227a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Lehmann?= Date: Thu, 14 Jul 2005 13:42:38 +0000 Subject: [PATCH] fix check in calendar style git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2289 069f4177-920e-0410-937b-c2a4a81bcd90 --- examples/graphstyles/cal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/graphstyles/cal.py b/examples/graphstyles/cal.py index ca4b62b2..eceb3973 100644 --- a/examples/graphstyles/cal.py +++ b/examples/graphstyles/cal.py @@ -12,7 +12,7 @@ class daystyle(graph.style._style): # register the new column names usecolumnnames = ["day", "month", "weekday", "note"] for columnname in usecolumnnames: - if columnname not in usecolumnnames: + if columnname not in columnnames: raise ValueError("column '%s' missing" % columnname) return usecolumnnames -- 2.11.4.GIT