author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 31 Aug 2009 14:26:44 +0200 | |
branch | stable |
changeset 3056 | 61f71ed15cfa |
parent 3055 | 06814d57514f |
child 3057 | f4ba5a251ab7 |
server/hooks.py | file | annotate | diff | comparison | revisions |
--- a/server/hooks.py Mon Aug 31 09:58:15 2009 +0200 +++ b/server/hooks.py Mon Aug 31 14:26:44 2009 +0200 @@ -37,7 +37,7 @@ # from the database (eg during tests) if eschema.eid is None: eschema.eid = session.unsafe_execute( - 'Any X WHERE X is CWEType, X name %(name)s', {'name': etype})[0][0] + 'Any X WHERE X is CWEType, X name %(name)s', {'name': str(etype)})[0][0] return eschema.eid