server/schemaserial.py
changeset 8748 f5027f8d2478
parent 8695 358d8bed9626
child 8945 ba9e3fbfa5a5
--- a/server/schemaserial.py	Wed Mar 20 17:58:14 2013 +0100
+++ b/server/schemaserial.py	Tue Mar 12 12:50:05 2013 +0100
@@ -26,7 +26,7 @@
 
 from yams import BadSchemaDefinition, schema as schemamod, buildobjs as ybo
 
-from cubicweb import CW_SOFTWARE_ROOT, typed_eid
+from cubicweb import CW_SOFTWARE_ROOT
 from cubicweb.schema import (CONSTRAINTS, ETYPE_NAME_MAP,
                              VIRTUAL_RTYPES, PURE_VIRTUAL_RTYPES)
 from cubicweb.server import sqlutils
@@ -58,7 +58,7 @@
                 if not value:
                     continue
                 try:
-                    eid = typed_eid(value)
+                    eid = int(value)
                 except ValueError:
                     print 'eid should be an integer'
                     continue