4331: typo

svn: r17495
This commit is contained in:
Jérôme Rapinat 2011-05-14 13:58:44 +00:00
parent 0f04f85ae2
commit 8786599034
3 changed files with 3 additions and 3 deletions

View File

@ -1467,7 +1467,7 @@ class ViewManager(CLIManager):
try:
bytes += posixpath.getsize(fullname)
length = len(str(bytes))
if bytes <= 99999:
if bytes <= 999999:
mbytes = "< 1"
else:
mbytes = str(bytes)[:(length-6)]

View File

@ -90,7 +90,7 @@ class StatsGramplet(Gramplet):
try:
bytes += posixpath.getsize(fullname)
length = len(str(bytes))
if bytes <= 99999:
if bytes <= 999999:
mbytes = _("less than 1")
else:
mbytes = str(bytes)[:(length-6)]

View File

@ -213,7 +213,7 @@ class SummaryReport(Report):
size_in_bytes += posixpath.getsize(
media_path_full(self.__db, media.get_path()))
length = len(str(size_in_bytes))
if size_in_bytes <= 99999:
if size_in_bytes <= 999999:
mbytes = _("less than 1")
else:
mbytes = str(size_in_bytes)[:(length-6)]