Commits

David Chambers committed e79ac9a

Removed `Document#master`.

  • Participants
  • Parent commits 51c2a26
  • Branches 0.8

Comments (0)

Files changed (1)

     def has_tag(self, tag):
         return tag in self.meta.get('tags', [])
 
-    def master(self):
-        master = self
-        parent = self._parent
-        while parent:
-            master = parent
-            parent = parent._parent
-        return master
-
     def related(self, documents=None):
         if documents is None:
             documents = Index.get().descendants()
         return self.__unicode__().encode('utf-8')
 
     def __unicode__(self):
-        return getattr(self.master(), 'title', 'Untitled Document')
+        return getattr(self, 'title', 'Untitled Document')
 
 
 class Update(object):