Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-costas committed Aug 4, 2023
1 parent d95ffc6 commit 6349656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft/linters/library_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def _find_deb_package(self, library_name: str) -> Optional[str]:
# If the specified file doesn't belong to any package, the
# call will trigger an exception.
return None
# In case that dpkg isn't available
except FileNotFoundError:
# In case that dpkg isn't available
return None
return output.stdout.decode("utf-8").split(":")[0]
return None
Expand Down

0 comments on commit 6349656

Please sign in to comment.