please flake8

This commit is contained in:
Maximilian Hils 2016-06-02 09:54:19 -07:00
parent 29c52d98dc
commit 5e385405ca

View File

@ -87,7 +87,7 @@ class FileGenerator(object):
if isinstance(x, slice):
return self.map.__getitem__(x)
# A slice of length 1 returns a byte object (not an integer)
return self.map.__getitem__(slice(x, x+1 or self.map.size()))
return self.map.__getitem__(slice(x, x + 1 or self.map.size()))
def __repr__(self):
return "<%s" % self.path