From b0620953df726968e09cc4f3e3adf53a23be3576 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Mon, 16 Mar 2020 20:38:16 -0700 Subject: [PATCH] Use `elif` in Dask deserialize check --- CHANGELOG.md | 1 + python/cudf/cudf/comm/serialize.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5a1d3bdf82..279798ec5cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -257,6 +257,7 @@ - PR #4406 Fix sorted merge issue with null values and ascending=False - PR #4445 Fix string issue for parquet reader and support `keep_index` for `scatter_to_tables` - PR #4423 Tighten up Dask serialization checks +- PR #4537 Use `elif` in Dask deserialize check - PR #4438 Fix repl-template error for replace_with_backrefs - PR #4434 Fix join_strings logic with all-null strings and non-null narep - PR #4465 Fix use_pandas_index having no effect in libcudf++ parquet reader diff --git a/python/cudf/cudf/comm/serialize.py b/python/cudf/cudf/comm/serialize.py index 9fe5a55c0d0..2c8193234b7 100644 --- a/python/cudf/cudf/comm/serialize.py +++ b/python/cudf/cudf/comm/serialize.py @@ -44,7 +44,7 @@ def deserialize_cudf_object(header, frames): # some frames are empty -- meta/empty partitions/etc if len(f) > 0: assert hasattr(f, "__cuda_array_interface__") - if header["serializer"] == "dask": + elif header["serializer"] == "dask": frames = [memoryview(f) for f in frames] cudf_typ = pickle.loads(header["type-serialized"])