Skip to content

Commit

Permalink
fix(kernel_crawler): fix referenced before assignment issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Nov 14, 2022
1 parent d6599b2 commit 4c326c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel_crawler/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def get_package_tree(self, filter=''):
return {}

package_match = f'{self.arch}/{self._kernel_devel_pattern}'
kernel_default_devel_pkg_url = None

# write the repodb xml to a tempfile for parsing
with tempfile.NamedTemporaryFile() as tf:
Expand Down

0 comments on commit 4c326c5

Please sign in to comment.