Fix utils.cut_dict() so that it trims more accurately

Bug #1698754 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Unassigned

Bug Description

Sometimes the length of the result is still bigger than the passed "length" parameter. It is because it doesn't take string representations of some values (like numbers) properly.

Take a look and see if that can be fixed.

Changed in mistral:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dougal Matthews (d0ugal) wrote :

Fixed by Iecc1bd4f4c67606eed209a762e4d692691a37161

Changed in mistral:
status: Confirmed → Fix Released
milestone: none → rocky-2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.