Fixed runtime error in wrvalidators.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 8 Feb 2011 22:06:02 +0000 (22:06 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 8 Feb 2011 22:06:02 +0000 (22:06 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrpylib@760 7aebc617-e5e2-0310-91dc-80fb5f6d2477

setup.py
wrpylib/wrvalidators.py

index 7a517c6b039a2d708e49176a29322e091c36b2a1..c450381bf34e6df617f12a332b4a61984d769b0f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 from distutils.core import setup
 
 setup(name='wrpylib',
-    version='0.0.2',
+    version='0.0.3',
     description='Winterrodeln Python Library',
     author='Philipp Spitzer',
     author_email='philipp.spitzer@winterrodeln.org',
index 831f84ca3105b120bb6eee3c524cdb2b0185a3a7..cbfac19f90e816f9d1cf859e327419e3d42bf944 100644 (file)
@@ -533,7 +533,7 @@ class GermanCachet(formencode.FancyValidator):
     def from_python(self, value):
         if value == None: return u''
         assert value != u''
-        return self.to_python(self, value)
+        return self.to_python(value)
 
 
 class Url(formencode.FancyValidator):