Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-08-30 06:06:26 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-08-30 06:06:26 (GMT)
commitf90b929fd911000d6f59cf141416fb8c39c31b1a (patch)
tree3cb0c5a68fde89b456257e8e1db789dc3d91a957
parent82a869fbbf33c91c71d57eb3644eedb5f8bcffbf (diff)
remove redundant code
-rw-r--r--shell/view/home/MeshBox.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py
index 8d3bdf5..6ccb5c7 100644
--- a/shell/view/home/MeshBox.py
+++ b/shell/view/home/MeshBox.py
@@ -53,16 +53,6 @@ class AccessPointView(PulsingIcon):
self._device_stroke = stroke
self._device_fill = fill
- import sha
- sh = sha.new()
- data = self._model.props.name + hex(self._model.props.capabilities) + \
- hex(self._model.props.mode)
- sh.update(data)
- h = hash(sh.digest())
- idx = h % len(xocolor._colors)
- self._device_stroke = xocolor._colors[idx][0]
- self._device_fill = xocolor._colors[idx][1]
-
self._update_icon()
self._update_name()
self._update_state()