From a473a9cba151b5e7837a4c5e42368e283c5871ca Mon Sep 17 00:00:00 2001 From: Guido Diepen Date: Tue, 31 Oct 2023 15:04:03 +0100 Subject: [PATCH] Remove if statement --- fsspec/implementations/webhdfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsspec/implementations/webhdfs.py b/fsspec/implementations/webhdfs.py index f031b0bed..f0d96f33c 100644 --- a/fsspec/implementations/webhdfs.py +++ b/fsspec/implementations/webhdfs.py @@ -108,7 +108,7 @@ def __init__( " token" ) self.pars["delegation"] = token - if self.user = user + self.user = user if password is not None: if self.user is None: raise ValueError(