diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templatetags/projecttags.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templatetags/projecttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py index 75f2261be8..1d680365ad 100644 --- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py +++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py | |||
@@ -90,7 +90,7 @@ def whitespace_space_filter(value, arg): | |||
90 | def divide(value, arg): | 90 | def divide(value, arg): |
91 | if int(arg) == 0: | 91 | if int(arg) == 0: |
92 | return -1 | 92 | return -1 |
93 | return int(value) / int(arg) | 93 | return int(value) // int(arg) |
94 | 94 | ||
95 | @register.filter | 95 | @register.filter |
96 | def multiply(value, arg): | 96 | def multiply(value, arg): |