Merge pull request #159 from BigRoy/master

Also ignore _UNKNOWN_REF_NODE_1, or other variations
This commit is contained in:
Roy Nieterau 2018-09-11 14:06:12 +02:00 committed by GitHub
commit 6d6898030d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ class ReferenceLoader(api.Loader):
continue
# Ignore _UNKNOWN_REF_NODE_ (PLN-160)
if ref.endswith("_UNKNOWN_REF_NODE_"):
if ref.rsplit(":", 1)[-1].startswith("_UNKNOWN_REF_NODE_"):
continue
references.add(ref)