Ejemplo n.º 1
0
 def get_ip_history_short(self, ip):
     last = None
     for time, state in model.get_ip_history(ip):
         if state != last:
             yield time, state
         last = state
Ejemplo n.º 2
0
 def get_ip_history_short(self, ip):
     last = None
     for time, state in model.get_ip_history(ip):
         if state != last:
             yield time, state
         last = state
Ejemplo n.º 3
0
 def get_ip_history(self, ip):
     return model.get_ip_history(ip)
Ejemplo n.º 4
0
 def get_ip_history(self, ip):
     return model.get_ip_history(ip)