Skip to content

Commit

Permalink
Complying with new NumPy standard
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Dec 20, 2022
1 parent 3887640 commit da0b909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shelephant/rsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit da0b909

Please sign in to comment.