diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 15481e5a58..9e6089b729 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -194,7 +194,7 @@ class Build(models.Model): | |||
194 | eta = timezone.now() | 194 | eta = timezone.now() |
195 | completeper = self.completeper() | 195 | completeper = self.completeper() |
196 | if self.completeper() > 0: | 196 | if self.completeper() > 0: |
197 | eta += ((eta - self.started_on)*100)/completeper | 197 | eta += ((eta - self.started_on)*(100-completeper))/completeper |
198 | return eta | 198 | return eta |
199 | 199 | ||
200 | 200 | ||