Skip to content

Commit

Permalink
Merge pull request #63 from plone/fix_62
Browse files Browse the repository at this point in the history
Fixes #62
  • Loading branch information
davisagli authored Feb 4, 2025
2 parents 1012dd2 + f59ea1d commit 30e557d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cookieplone/utils/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_command_version(cmd: str) -> str:
.stdout.decode()
.strip()
)
except FileNotFoundError:
except (FileNotFoundError, PermissionError):
raw_version = ""
return raw_version

Expand Down
1 change: 1 addition & 0 deletions news/62.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added an exception for sanity check command failure due to permission error. @ewohnlich

0 comments on commit 30e557d

Please sign in to comment.