Commit 4f3f67ca authored by Ask Hjorth Larsen's avatar Ask Hjorth Larsen

ignore metadata that cannot be converted to proper type. (complex arithmetic...

ignore metadata that cannot be converted to proper type.  (complex arithmetic expressions, unrecognized constants, etc.)
parent a77d9e27
......@@ -199,7 +199,7 @@ def register_octopus_keywords(pew, category, kwargs):
val = kwargs[keyword]
try:
name, value = regularize_metadata_entry(normalized_name, val)
except KeyError: # unknown normalized_name
except (KeyError, ValueError): # unknown normalized_name or cannot convert
pass
# We can't crash on unknown keywords because we must support
# versions old and new alike.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment