contentstorage/castorage/conf/castoragedb.implml
changeset 124 e36b2f4799c0
parent 121 0b3699f6c654
--- a/contentstorage/castorage/conf/castoragedb.implml	Fri Sep 17 08:32:18 2010 +0300
+++ b/contentstorage/castorage/conf/castoragedb.implml	Mon Oct 04 00:38:31 2010 +0300
@@ -24,6 +24,8 @@
         </output>
         <output dir="temp/castoragedb/" file="castoragedb_variant.sql" encoding="UTF-8">
             <template file="castoragedb_templates/castoragedb_variant.sql"/>
+            <!-- lambda a: int((int(a,16)+2**31)%2**32-2**31) -->
+            <filter name="hex2dec">lambda a: int((int(a,16)+2147483648)%4294967296-2147483648)</filter>
         </output>
     </templateml>