8000 Use 'not in' to test membership · python/blurb@1e6dd0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e6dd0f

Browse files
committed
Use 'not in' to test membership
1 parent 7cb5abb commit 1e6dd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blurb/blurb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def finish_entry():
493493
if "gh-issue" not in metadata and "bpo" not in metadata:
494494
throw("'gh-issue:' or 'bpo:' must be specified in the metadata!")
495495

496-
if not 'section' in metadata:
496+
if 'section' not in metadata:
497497
throw("No 'section' specified. You must provide one!")
498498

499499
self.append((metadata, text))

0 commit comments

Comments
 (0)
0