Permalink
Browse files

add oid property to tld too

  • Loading branch information...
1 parent f7a2549 commit f5e0656f5e545282d6061ecdbd5d5003a6d8a85a @reedobrien reedobrien committed Sep 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lumin/node.py
View
@@ -171,6 +171,10 @@ def remove_ace(self, ace):
def __name__(self):
return self._id
+ @property
+ def oid(self):
+ return self.data.get('_id', None)
+
def history(self,
after=True,
fields=[],

0 comments on commit f5e0656

Please sign in to comment.