Commit 7d061726 authored by dieter's avatar dieter

fix Python 3 incompatibility for `fsstats`

parent 6ba5f606
...@@ -141,7 +141,7 @@ def main(path=None): ...@@ -141,7 +141,7 @@ def main(path=None):
objects = 0 objects = 0
tid = None tid = None
f = open(path, "rb") f = open(path, "r")
for i, line in enumerate(f): for i, line in enumerate(f):
if MAX and i > MAX: if MAX and i > MAX:
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment