Skip to content

Commit

Permalink
Whack-a-mole
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Feb 4, 2021
1 parent 790abae commit 4dbeeb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/allmydata/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def remote_upload_random_data_from_file(self, size, convergence):
# What does coverage look like? Why does nothing fail with "a" vs.
# b"a"?

block = "a" * 8192
block = b"a" * 8192


while size > 0:
Expand Down Expand Up @@ -201,7 +201,7 @@ def create_data(self):
#
# TODO same here

f.write("\x00" * chunk)
f.write(b"\x00" * chunk)
s -= chunk
f.close()

Expand Down

0 comments on commit 4dbeeb1

Please sign in to comment.