File diff 694630ca02fa → e79877ee6a3f
conservancy_beancount/plugin/meta_repo_links.py
Show inline comments
...
 
@@ -34,6 +34,7 @@ from typing import (
 

	
 
class MetaRepoLinks(core.TransactionHook):
 
    HOOK_GROUPS = frozenset(['linkcheck'])
 
    LINK_METADATA = data.LINK_METADATA.difference('rt-id')
 
    PATH_PUNCT_RE = re.compile(r'[:/]')
 

	
 
    def __init__(self, config: configmod.Config) -> None:
...
 
@@ -48,7 +49,7 @@ class MetaRepoLinks(core.TransactionHook):
 
                     post: Optional[Posting]=None,
 
    ) -> errormod.Iter:
 
        metadata = data.Metadata(meta)
 
        for key in data.LINK_METADATA:
 
        for key in self.LINK_METADATA:
 
            try:
 
                links = metadata.get_links(key)
 
            except TypeError: