Skip to content

Commit e7f14c0

Browse files
authored
Merge pull request #36 from softdevteam/minus-x-warnings
Don't warn that a field is missing if the user requested its omission
2 parents fe4c00b + 147bf74 commit e7f14c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/prebib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ class PreBib:
168168
warn_missing_entry = []
169169

170170
warn_missing = [ k for
171-
k in warn_missing_entry if k not in data.keys() ]
171+
k in warn_missing_entry if k not in data.keys()
172+
and k not in self.extra_excludes]
172173
for i in warn_missing:
173174
self.msg("Entry '%s' is missing a '%s' field" % (key, i))
174175

0 commit comments

Comments
 (0)