Skip to content

Commit 5fcf079

Browse files
Fix Copilot suggestions
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent aa098f1 commit 5fcf079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cla-backend/cla/models/github_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ def property_matches(self, pattern, value):
947947
def is_actor_skipped(self, actor, config):
948948
"""
949949
Returns True if the actor should be skipped (whitelisted) based on config pattern.
950-
config: '<username_pattern>:<email_pattern>'
950+
config: '<username_pattern>;<email_pattern>'
951951
"""
952952
try:
953953
if ';' not in config:
@@ -1069,7 +1069,7 @@ def skip_whitelisted_bots(self, org_model, org_repo, actors_missing_cla) -> Tupl
10691069
except Exception as exc:
10701070
cla.log.error(
10711071
"Exception in skip_whitelisted_bots: %s (repo=%s, actors=%s). Disabling skip_cla logic for this run.",
1072-
exc, repo, actors
1072+
exc, org_repo, actors_missing_cla
10731073
)
10741074
# Always return all actors if something breaks
10751075
return actors_missing_cla, []

0 commit comments

Comments
 (0)