4331: typo
svn: r17496
This commit is contained in:
parent
9e43103fd5
commit
3c955ed9ec
@ -1467,7 +1467,7 @@ class ViewManager(CLIManager):
|
|||||||
try:
|
try:
|
||||||
bytes += posixpath.getsize(fullname)
|
bytes += posixpath.getsize(fullname)
|
||||||
length = len(str(bytes))
|
length = len(str(bytes))
|
||||||
if bytes <= 99999:
|
if bytes <= 999999:
|
||||||
mbytes = "< 1"
|
mbytes = "< 1"
|
||||||
else:
|
else:
|
||||||
mbytes = str(bytes)[:(length-6)]
|
mbytes = str(bytes)[:(length-6)]
|
||||||
|
@ -90,7 +90,7 @@ class StatsGramplet(Gramplet):
|
|||||||
try:
|
try:
|
||||||
bytes += posixpath.getsize(fullname)
|
bytes += posixpath.getsize(fullname)
|
||||||
length = len(str(bytes))
|
length = len(str(bytes))
|
||||||
if bytes <= 99999:
|
if bytes <= 999999:
|
||||||
mbytes = _("less than 1")
|
mbytes = _("less than 1")
|
||||||
else:
|
else:
|
||||||
mbytes = str(bytes)[:(length-6)]
|
mbytes = str(bytes)[:(length-6)]
|
||||||
|
@ -213,7 +213,7 @@ class SummaryReport(Report):
|
|||||||
size_in_bytes += posixpath.getsize(
|
size_in_bytes += posixpath.getsize(
|
||||||
media_path_full(self.__db, media.get_path()))
|
media_path_full(self.__db, media.get_path()))
|
||||||
length = len(str(size_in_bytes))
|
length = len(str(size_in_bytes))
|
||||||
if size_in_bytes <= 99999:
|
if size_in_bytes <= 999999:
|
||||||
mbytes = _("less than 1")
|
mbytes = _("less than 1")
|
||||||
else:
|
else:
|
||||||
mbytes = str(size_in_bytes)[:(length-6)]
|
mbytes = str(size_in_bytes)[:(length-6)]
|
||||||
|
Loading…
Reference in New Issue
Block a user