sobjects/textparsers.py
branchstable
changeset 9013 b4bcabf55e77
parent 8748 f5027f8d2478
--- a/sobjects/textparsers.py	Fri Jun 14 16:13:24 2013 +0200
+++ b/sobjects/textparsers.py	Fri Jun 14 16:26:25 2013 +0200
@@ -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