Skip to content

Commit ca03875

Browse files
mkoncekmizdebsk
authored andcommitted
Fix Python warning about invalid escape sequences
1 parent 932942a commit ca03875

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/javapackages/maven/artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def interpolate(self, properties):
191191
getattr(self, member) and
192192
isinstance(getattr(self, member), str)):
193193
curr_value = getattr(self, member)
194-
prog = re.compile("\\$\{([^}]+)\}")
194+
prog = re.compile(r"\${([^}]+)}")
195195
props = prog.findall(curr_value)
196196
for key in props:
197197
try:

0 commit comments

Comments
 (0)