Skip to content

Commit 91175af

Browse files
celeste0-0secpquentin
authored andcommitted
Fix missing assignment (#3151)
Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit fa8fe72)
1 parent 23a0de3 commit 91175af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/esql/esql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _format_id(id: FieldType, allow_patterns: bool = False) -> str:
124124
if re.fullmatch(r"[a-zA-Z_@][a-zA-Z0-9_\.]*", s):
125125
return s
126126
# this identifier needs to be escaped
127-
s.replace("`", "``")
127+
s = s.replace("`", "``")
128128
return f"`{s}`"
129129

130130
@staticmethod

0 commit comments

Comments
 (0)