aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/utilities.py b/sos/utilities.py
index 7c749aec..42dceff6 100644
--- a/sos/utilities.py
+++ b/sos/utilities.py
@@ -209,7 +209,7 @@ class AsyncReader(threading.Thread):
slots = None
if sizelimit:
sizelimit = sizelimit * 1048576 # convert to bytes
- slots = sizelimit / self.chunksize
+ slots = int(sizelimit / self.chunksize)
self.deque = deque(maxlen=slots)
self.start()
self.join()