-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
What is this intending to do?
values = pieces[1].split(",")[:-1]
It strips the last data value returned from Graphite. I don't think that's what you wanted to do.
>>> myvalues = [8,9,10]
>>> myvalues[:-1]
[8, 9]
>>>
I think you were intending to strip the newline character from the graphite data line??
Metadata
Metadata
Assignees
Labels
No labels