Skip to content

Commit abf9b80

Browse files
committed
PIM-6080
Remove unused `_is_permission_denied_message` function from core commands
1 parent 1ca6ec7 commit abf9b80

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

cterasdk/cio/core/commands.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@
2020
logger = logging.getLogger('cterasdk.core')
2121

2222

23-
def _is_permission_denied_message(message):
24-
msg = (message or '').lower()
25-
return (
26-
'permission' in msg
27-
or 'denied' in msg
28-
or 'read only' in msg
29-
or 'action is not allowed' in msg
30-
)
31-
32-
3323
def _normalize_rc(rc):
3424
if isinstance(rc, str):
3525
return rc.strip()

0 commit comments

Comments
 (0)