Merge "Remove reduant check of list."
This commit is contained in:
commit
84bd434d8d
@ -207,7 +207,7 @@ class DiskFile(object):
|
||||
|
||||
def app_iter_ranges(self, ranges, content_type, boundary, size):
|
||||
"""Returns an iterator over the data file for a set of ranges"""
|
||||
if (not ranges or len(ranges) == 0):
|
||||
if not ranges:
|
||||
yield ''
|
||||
else:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user