[server/session] Fix typo "meta vs. metas" in describe()
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 09 Mar 2015 09:32:11 +0100
changeset 10228 d8a208f7e3d1
parent 10227 fb138c2b7da3
child 10233 f7dfcb3add15
[server/session] Fix typo "meta vs. metas" in describe()
server/session.py
--- a/server/session.py	Thu Mar 12 12:26:46 2015 +0100
+++ b/server/session.py	Mon Mar 09 09:32:11 2015 +0100
@@ -995,8 +995,8 @@
         etype, extid, source = self.repo.type_and_source_from_eid(eid, self)
         metas = {'type': etype, 'source': source, 'extid': extid}
         if asdict:
-            metas['asource'] = meta['source'] # XXX pre 3.19 client compat
-            return meta
+            metas['asource'] = metas['source'] # XXX pre 3.19 client compat
+            return metas
         return etype, source, extid
 
     @_with_cnx_set