Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitlab/ci/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variables:

Check failure on line 1 in .gitlab/ci/.gitlab-ci.yml

View workflow job for this annotation

GitHub Actions / protect-infra-files

Protected file modified

This file should not be changed in master. If you are sure it's necessary, ask for a force merge and explain the rationale.
CURRENT_BRANCH_NAME: $INFRA_BRANCH
CURRENT_BRANCH_NAME: sk-csp-validation

include:
- file: "/.gitlab/ci/content-ci/ci/.gitlab-ci.yml"
ref: $INFRA_BRANCH
ref: sk-csp-validation
project: "${CI_PROJECT_NAMESPACE}/infra"
6 changes: 3 additions & 3 deletions Packs/Base/Scripts/CommonServerPython/CommonServerPython.py
Original file line number Diff line number Diff line change
Expand Up @@ -7212,7 +7212,7 @@ def to_results(self):
)


def camelize_string(src_str, delim='_', upper_camel=True):
def camelize_string(source_string, delim='_', upper_camel=True):
"""
Transform snake_case to CamelCase

Expand All @@ -7230,9 +7230,9 @@ def camelize_string(src_str, delim='_', upper_camel=True):
:return: A CammelCase string.
:rtype: ``str``
"""
if not src_str: # empty string
if not source_string: # empty string
return ""
components = src_str.split(delim)
components = source_string.split(delim)
camelize_without_first_char = ''.join(map(lambda x: x.title(), components[1:]))
if upper_camel:
return components[0].title() + camelize_without_first_char
Expand Down
Loading