Skip to content

Commit

Permalink
Remove global keyword as it alters usage
Browse files Browse the repository at this point in the history
Co-authored-by: Éric <[email protected]>
  • Loading branch information
abitrolly and merwok authored Apr 28, 2023
1 parent 45dfd8f commit a10d3f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion warehouse/forklift/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,6 @@ def extract_wheel_metadata(path):
See https://www.python.org/dev/peps/pep-0658/#specification
"""
global _wheel_file_re
filename = os.path.basename(path)
namever = _wheel_file_re.match(filename).group("namever")
metafile = namever + ".dist-info/METADATA"
Expand Down

0 comments on commit a10d3f5

Please sign in to comment.