Bug Fix : Local variable 'quota_display' referenced before assignment

closes-Bug: #1767354

Change-Id: I6eed169b8c5f18295734cb6453c7256f31de10d3
This commit is contained in:
HyunsikYang 2018-04-27 22:42:11 +09:00
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)