Bug Fix : Local variable 'quota_display' referenced before assignment
closes-Bug: #1767354 Change-Id: I6eed169b8c5f18295734cb6453c7256f31de10d3
This commit is contained in:
parent
96e7c33c1c
commit
fa20420246
@ -146,6 +146,7 @@ class ProjectUsageView(UsageView):
|
||||
used_display = _apply_filters(used, filters)
|
||||
# When quota is float('inf'), we don't show quota
|
||||
# so filtering is unnecessary.
|
||||
quota_display = None
|
||||
if quota != float('inf'):
|
||||
quota_display = _apply_filters(quota, filters)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user