mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed E227 pep8 warnings
This commit is contained in:
@@ -814,11 +814,11 @@ def filesizeformat(bytes):
|
||||
|
||||
filesize_number_format = lambda value: formats.number_format(round(value, 1), 1)
|
||||
|
||||
KB = 1<<10
|
||||
MB = 1<<20
|
||||
GB = 1<<30
|
||||
TB = 1<<40
|
||||
PB = 1<<50
|
||||
KB = 1 << 10
|
||||
MB = 1 << 20
|
||||
GB = 1 << 30
|
||||
TB = 1 << 40
|
||||
PB = 1 << 50
|
||||
|
||||
if bytes < KB:
|
||||
value = ungettext("%(size)d byte", "%(size)d bytes", bytes) % {'size': bytes}
|
||||
|
||||
Reference in New Issue
Block a user