author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 05 Mar 2010 13:04:46 +0100 | |
changeset 4813 | 5a55c223612e |
parent 4812 | 2eb6a9b33aa5 |
child 4814 | 5cd6d07c18de |
hooks/metadata.py | file | annotate | diff | comparison | revisions |
--- a/hooks/metadata.py Fri Mar 05 12:18:22 2010 +0100 +++ b/hooks/metadata.py Fri Mar 05 13:04:46 2010 +0100 @@ -21,7 +21,7 @@ if eschema.eid is None: eschema.eid = session.unsafe_execute( 'Any X WHERE X is CWEType, X name %(name)s', - {'name': str(etype)})[0][0] + {'name': str(eschema)})[0][0] return eschema.eid