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 <merwok@netwok.org>
  • Loading branch information
abitrolly and merwok committed Apr 30, 2023
1 parent 3ce2e0d commit cab426f
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 @@ -798,7 +798,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 cab426f

Please sign in to comment.