From 9caec1b5b94374853603dddff84b31762bece19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Mon, 23 Mar 2020 14:09:57 +0100 Subject: [PATCH] Remove useless list->tuple conversion as tuples are iterable --- haskell/private/versions.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell/private/versions.bzl b/haskell/private/versions.bzl index 47ea859454..5823eede0c 100644 --- a/haskell/private/versions.bzl +++ b/haskell/private/versions.bzl @@ -52,8 +52,8 @@ def check_version(actual_version): if (min_bazel <= actual) and (actual <= max_bazel): return # All good - min_bazel_string = ".".join([str(x) for x in list(min_bazel)]) - max_bazel_string = ".".join([str(x) for x in list(max_bazel)]) + min_bazel_string = ".".join([str(x) for x in min_bazel]) + max_bazel_string = ".".join([str(x) for x in max_bazel]) adjective = "old" if actual < min_bazel else "recent"