Skip to content
Browse files

Simplifying loop (and making codacy happy).

  • Loading branch information
felixfontein committed Jul 1, 2017
1 parent 6ef898e commit 9c3d10762b9d2cf9f1a99a1cc4afa94cb3a8c11e
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/
@@ -2096,7 +2096,7 @@ def extract_metadata(file_lines):
# First, get metadata from the beginning of the file,
# up to first empty line

for i, line in enumerate(file_lines):
for line in file_lines:
if not line:
match = re_meta(line)

0 comments on commit 9c3d107

Please sign in to comment.