We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0274b commit 65e64e7Copy full SHA for 65e64e7
twine/commands/upload.py
@@ -113,9 +113,11 @@ def _split_inputs(
113
``dist-path -> [attestation-path]``.
114
"""
115
signatures = {os.path.basename(i): i for i in fnmatch.filter(inputs, "*.asc")}
116
- attestations = set(fnmatch.filter(inputs, "*.*.attestation"))
+ attestations = fnmatch.filter(inputs, "*.*.attestation")
117
dists = [
118
- dist for dist in inputs if dist not in (set(signatures.values()) | attestations)
+ dist
119
+ for dist in inputs
120
+ if dist not in (set(signatures.values()) | set(attestations))
121
]
122
123
attestations_by_dist = {}
0 commit comments