Skip to content

Commit

Permalink
Requirements: Properly initialize the class
Browse files Browse the repository at this point in the history
The pypi_provides memeber wasn't being set on initialization causing
an error when processing the specfile in some cases.

Fixes #625.
  • Loading branch information
bryteise authored and phmccarty committed Apr 26, 2020
1 parent b5212a6 commit bf46382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autospec/buildreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def __init__(self, url):
self.extra_cmake_openmpi = set()
self.verbose = False
self.cargo_bin = False
self.pypi_provides = None
self.banned_buildreqs = set(["llvm-devel",
"gcj",
"pkgconfig(dnl)",
Expand Down

0 comments on commit bf46382

Please sign in to comment.