Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d280ff5c authored by GUILLEMOT Alexandre's avatar GUILLEMOT Alexandre
Browse files

correct syntax error in regex split

parent b94f04d2
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ if not args.norun:
# Functions to parse input
def memory_parsing(s):
auxi = re.split('(\d+)', s)
auxi = re.split(r'(\d+)', s)
val = int(auxi[1])
try:
unit = auxi[2]
......@@ -85,7 +85,7 @@ if not args.norun:
return val
def timeout_parsing(s):
auxi = re.split('(\d+)', s)
auxi = re.split(r'(\d+)', s)
val = int(auxi[1])
try:
unit = auxi[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment