Skip to content
Browse files

Improving return values.

  • Loading branch information
felixfontein committed Jul 1, 2017
1 parent 9c3d107 commit b8729eaeae0ebfbf1a7610389cae3b93612d74e3
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/
@@ -2045,9 +2045,9 @@ def re_meta(line, match=None):
if match and result:
return (match, result[0])
elif not match and result:
return (result[0][0], result[0][1].strip())
return result[0][0], result[0][1].strip()
return (None,)
return None, None

def extract_metadata(file_lines):

0 comments on commit b8729ea

Please sign in to comment.