remove useless if from slo
Change-Id: Id232c6973dcb55c19233b6d517770e58c2737ba0
This commit is contained in:
parent
bfcf72a3f0
commit
0afcc674cb
@ -348,7 +348,6 @@ class StaticLargeObject(object):
|
||||
if len(sub_segments) > MAX_BUFFERED_SLO_SEGMENTS:
|
||||
raise HTTPBadRequest(
|
||||
'Too many buffered slo segments to delete.')
|
||||
if sub_segments:
|
||||
seg_data = sub_segments.pop(0)
|
||||
if seg_data.get('sub_slo'):
|
||||
new_env = req.environ.copy()
|
||||
|
Loading…
Reference in New Issue
Block a user