Zope with Python

Holger Butschek spam at butschek-consult.de
Fri Mar 19 07:06:01 EST 2004


Hy,

I'm using following code.

<dtml-in expr="sqlBestandGetKuerzel(KURZFORM='B',BEREICH='01')">
  B/<dtml-var RUBRIK>/<dtml-var expr="_.math.int(ANZAHL) + 1">
</dtml-in>

Whats wrong with it. I'm always getting the following error:
Error Type: AttributeError
Error Value: 'math' module has no attribute 'int'

Can anybody help me please.

Bye,
Holger





More information about the Python-list mailing list