Skip to content

Commit

Permalink
Bring back the old behavior of the property
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Strikos committed Dec 15, 2015
1 parent 72630b3 commit 093c057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ripe/atlas/sagan/traceroute.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def _parse_hops(self, **kwargs):

hop = Hop(hop, **kwargs)

if hop.median_rtt:
self.last_median_rtt = hop.median_rtt

self.hops.append(hop)
self.total_hops += 1

Expand All @@ -222,9 +225,6 @@ def _parse_hops(self, **kwargs):
self.set_last_hop_responded(hop)
self.set_is_success(hop)

if hop.median_rtt:
self.last_median_rtt = hop.median_rtt


__all__ = (
"TracerouteResult",
Expand Down

0 comments on commit 093c057

Please sign in to comment.