def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def due_date(self):
        """ Returns a date object of the todo's due date. """
        return self.get_date(config().tag_due())