Skip to content

Commit

Permalink
Merge pull request #144 from zimeon/fix-syntax-warning
Browse files Browse the repository at this point in the history
Fix SyntaxWarning with is against literal
  • Loading branch information
acdha authored Apr 19, 2020
2 parents 4b76c14 + 01ebd87 commit 6e14a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bagit.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def _load_manifests(self):
manifests += list(self.tagmanifest_files())

for manifest_filename in manifests:
if not manifest_filename.find("tagmanifest-") is -1:
if manifest_filename.find("tagmanifest-") != -1:
search = "tagmanifest-"
else:
search = "manifest-"
Expand Down

0 comments on commit 6e14a50

Please # to comment.