#!/usr/bin/python2.6
# -*- coding: iso-8859-15 -*-
+# $Id$
+# $HeadURL$
"""This file contains "validators" that convert between string and python (database) representation
of properties used in the "Rodelbahnbox" and "Gasthausbox".
The "to_python" method has to get a unicode argument.
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):