Skip to content

Commit 30e557d

Browse files
authored
Merge pull request #63 from plone/fix_62
Fixes #62
2 parents 1012dd2 + f59ea1d commit 30e557d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cookieplone/utils/commands/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_command_version(cmd: str) -> str:
1616
.stdout.decode()
1717
.strip()
1818
)
19-
except FileNotFoundError:
19+
except (FileNotFoundError, PermissionError):
2020
raw_version = ""
2121
return raw_version
2222

news/62.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added an exception for sanity check command failure due to permission error. @ewohnlich

0 commit comments

Comments
 (0)