Merge pull request #235 from MrCrayon/fix-skip

Fix skip in firehose_client
This commit is contained in:
Bjoern Kerler 2022-03-23 12:29:05 +01:00 committed by GitHub
commit 4a656467df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -307,7 +307,8 @@ class firehose_client(metaclass=LogBase):
skipped = []
for skippart in skip:
filtered = fnmatch.filter(guid_gpt.partentries, skippart)
skipped.append(filtered)
if len(filtered) > 0:
skipped.append(filtered[0])
for partitionname in guid_gpt.partentries:
partition = guid_gpt.partentries[partitionname]
if partitionname in skipped: