mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
cleanup
This commit is contained in:
parent
983fff1471
commit
e9a8e63c27
@ -17,7 +17,6 @@
|
||||
import datetime
|
||||
import os
|
||||
import re
|
||||
import string
|
||||
from typing import List, Tuple, Optional
|
||||
|
||||
bullets = '+-*'
|
||||
@ -66,12 +65,11 @@ class VersionEntry:
|
||||
self.date: Optional[datetime.date] = None
|
||||
self.tags: List[str] = []
|
||||
self.link: str = ''
|
||||
self.link_id: str = None
|
||||
self.link_id: str = ''
|
||||
self.line_no: int = -1
|
||||
|
||||
def body(self, md: bool = True) -> str:
|
||||
segments = []
|
||||
text = ''
|
||||
|
||||
for section, entries in self.sections.items():
|
||||
if section:
|
||||
|
Loading…
Reference in New Issue
Block a user