Skip to content

Commit d99e0ef

Browse files
committed
base: Drop version check for getcomponentsdetails
version checks shouldn't be used to pre-emptively reject API calls, instead just for handling format/output differences. Mentioned in Issue #19, but the root cause of that was already fixed.
1 parent c2cf92a commit d99e0ef

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

bugzilla/base.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -819,12 +819,6 @@ def _getcomponents(self, product):
819819
return r['values']
820820

821821
def _getcomponentsdetails(self, product):
822-
# Originally this was a RH extension getProdCompDetails
823-
# Upstream support has been available since 4.2
824-
if not self._check_version(4, 2):
825-
raise RuntimeError("This bugzilla version does not support "
826-
"fetching component details.")
827-
828822
def _find_comps():
829823
for p in self._cache.products:
830824
if p["name"] != product:

0 commit comments

Comments
 (0)