aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-04-08 16:44:47 +0200
committerRickard Green <[email protected]>2019-04-08 16:45:09 +0200
commit9938d335f519c4edc34aed805beb28f7e5c84483 (patch)
tree0898c6c5e9f7d8c1f23c508eaff71ce7355a0c49
parent7afceb1e0e22422e09c868a7c6666e4dbf1064b0 (diff)
downloadotp-9938d335f519c4edc34aed805beb28f7e5c84483.tar.gz
otp-9938d335f519c4edc34aed805beb28f7e5c84483.tar.bz2
otp-9938d335f519c4edc34aed805beb28f7e5c84483.zip
Use string:tokens instead of string:lexemes on OTP 19
-rw-r--r--lib/common_test/src/test_server_node.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/test_server_node.erl b/lib/common_test/src/test_server_node.erl
index ad6d7dea76..96b719c242 100644
--- a/lib/common_test/src/test_server_node.erl
+++ b/lib/common_test/src/test_server_node.erl
@@ -821,7 +821,7 @@ ubuntu_release(Fd, DistroId, Rel) ->
NewRel = lists:map(fun (N) ->
list_to_integer(N)
end,
- string:lexemes(RelList, ".")),
+ string:tokens(RelList, ".")),
ubuntu_release(Fd, DistroId, NewRel);
nomatch ->
ubuntu_release(Fd, DistroId, Rel)