sobjects/textparsers.py
changeset 8748 f5027f8d2478
parent 7815 2a164a9cf81c
--- a/sobjects/textparsers.py	Wed Mar 20 17:58:14 2013 +0100
+++ b/sobjects/textparsers.py	Tue Mar 12 12:50:05 2013 +0100
@@ -26,7 +26,7 @@
 
 import re
 
-from cubicweb import UnknownEid, typed_eid
+from cubicweb import UnknownEid
 from cubicweb.view import Component
 
 
@@ -66,7 +66,7 @@
     def parse(self, caller, text):
         for trname, eid in self.instr_rgx.findall(text):
             try:
-                entity = self._cw.entity_from_eid(typed_eid(eid))
+                entity = self._cw.entity_from_eid(int(eid))
             except UnknownEid:
                 self.error("can't get entity with eid %s", eid)
                 continue