Skip to content
Snippets Groups Projects
Commit 765f49d0 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[environments] Fix regex string type

parent 7cf1e800
No related branches found
No related tags found
1 merge request!62Code cleanup
...@@ -79,7 +79,7 @@ def enumerate_packages(host, environment_name): ...@@ -79,7 +79,7 @@ def enumerate_packages(host, environment_name):
package_lines = output.split("\n") package_lines = output.split("\n")
for package_line in package_lines: for package_line in package_lines:
information = re.split("\s+", package_line) information = re.split(r"\s+", package_line)
if len(information) == 4: if len(information) == 4:
packages.append({"name": information[0], "version": information[1]}) packages.append({"name": information[0], "version": information[1]})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment