Don't fail on unknown link types.
This commit is contained in:
parent
3bf1a86c31
commit
5a9fbfb253
@ -138,7 +138,7 @@ def main(src_top, dest_top):
|
|||||||
elif l.value.startswith('./'):
|
elif l.value.startswith('./'):
|
||||||
pass # TODO: Properly handle
|
pass # TODO: Properly handle
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError('On document {}, link to {}'.format(doc.path, l.value))
|
logging.warning('On document {}, unknown link to {}'.format(doc.path, l.value))
|
||||||
|
|
||||||
if headline.parent:
|
if headline.parent:
|
||||||
if isinstance(headline.parent, org_rw.Headline):
|
if isinstance(headline.parent, org_rw.Headline):
|
||||||
|
Loading…
Reference in New Issue
Block a user