RIPE-NCC / ripe-atlas-sagan

A parsing library for RIPE Atlas measurement results
GNU General Public License v3.0
48 stars 25 forks source link

Hop should return a string when calling __str__ #79

Closed Woutifier closed 7 years ago

Woutifier commented 7 years ago

Currently the Hop class returns an integer when str is called. This causes an error if Hop is printed:

TypeError: __str__ returned non-string (type int)
danielquinn commented 7 years ago

Gasp! Who would do that???

Sorry about that :-)