We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b76c14 commit 01ebd87Copy full SHA for 01ebd87
1 file changed
bagit.py
@@ -631,7 +631,7 @@ def _load_manifests(self):
631
manifests += list(self.tagmanifest_files())
632
633
for manifest_filename in manifests:
634
- if not manifest_filename.find("tagmanifest-") is -1:
+ if manifest_filename.find("tagmanifest-") != -1:
635
search = "tagmanifest-"
636
else:
637
search = "manifest-"
0 commit comments