We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1012dd2 + f59ea1d commit 30e557dCopy full SHA for 30e557d
cookieplone/utils/commands/__init__.py
@@ -16,7 +16,7 @@ def _get_command_version(cmd: str) -> str:
16
.stdout.decode()
17
.strip()
18
)
19
- except FileNotFoundError:
+ except (FileNotFoundError, PermissionError):
20
raw_version = ""
21
return raw_version
22
news/62.bugfix
@@ -0,0 +1 @@
1
+Added an exception for sanity check command failure due to permission error. @ewohnlich
0 commit comments