# HG changeset patch # User Drew Perttula # Date 1559026567 0 # Node ID 708cdf7c4dad084df96442dffede43fbfd27713d # Parent ce6bd8ff49e2cd07efa4ab028f0eb9ffcf22fd77 types and import fixes. jquery dep for reconnecting websocket display Ignore-this: f74f3abcc899abfe0da9c0e1497fd73e diff -r ce6bd8ff49e2 -r 708cdf7c4dad light9/greplin_cyclone.py --- a/light9/greplin_cyclone.py Tue May 28 06:55:35 2019 +0000 +++ b/light9/greplin_cyclone.py Tue May 28 06:56:07 2019 +0000 @@ -1,6 +1,8 @@ +from typing import List + import cyclone.web -import greplin.scales.twistedweb, greplin.scales.formats +import greplin.scales.twistedweb, greplin.scales.formats, greplin.scales.util from greplin import scales @@ -9,9 +11,8 @@ class StatsForCyclone(cyclone.web.RequestHandler): def get(self): - parts = [] - statDict = greplin.scales.twistedweb.util.lookup( - scales.getStats(), parts) + parts: List[str] = [] + statDict = greplin.scales.util.lookup(scales.getStats(), parts) if statDict is None: self.set_status(404) diff -r ce6bd8ff49e2 -r 708cdf7c4dad light9/web/live/elements.html --- a/light9/web/live/elements.html Tue May 28 06:55:35 2019 +0000 +++ b/light9/web/live/elements.html Tue May 28 06:56:07 2019 +0000 @@ -9,7 +9,7 @@ - +