Skip to content

Commit 41384b8

Browse files
[DEEPLOY] Fix for python error when running regression
1 parent 3b011bb commit 41384b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Deeploy/DeeployTypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,10 +686,10 @@ def __eq__(self, other):
686686

687687
def _mangle(self, name: str, repr: bool = True) -> str:
688688
repStr = name
689-
repStr = re.sub('\.', '_', repStr)
689+
repStr = re.sub(r'\.', '_', repStr)
690690
repStr = re.sub(':', '_', repStr)
691691
if repr:
692-
repStr = re.sub('\.', '_', self.name) + '_' + repStr
692+
repStr = re.sub(r'\.', '_', self.name) + '_' + repStr
693693
return repStr
694694

695695
def add(self, obj: VariableBuffer, ctxt: Literal['local', 'global'] = 'local', _id: str = ""):

0 commit comments

Comments
 (0)