From da0b909981d856158fcf41af610bc37c705078cd Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Tue, 20 Dec 2022 11:53:45 +0100 Subject: [PATCH] Complying with new NumPy standard --- shelephant/rsync.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shelephant/rsync.py b/shelephant/rsync.py index a31a3de..a89d9fe 100644 --- a/shelephant/rsync.py +++ b/shelephant/rsync.py @@ -164,9 +164,9 @@ def diff( if len(lines) == 0: return { - "skip": np.ones((len(files)), dtype=np.bool), - "create": np.zeros((len(files)), dtype=np.bool), - "overwrite": np.zeros((len(files)), dtype=np.bool), + "skip": np.ones((len(files)), dtype=bool), + "create": np.zeros((len(files)), dtype=bool), + "overwrite": np.zeros((len(files)), dtype=bool), } check_paths = [line.split(" ", 1)[1] for line in lines]