summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-08-18 12:09:01 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-08-18 12:09:01 +0000
commita11590bc39bcbf15730771045a6fc8b5eab0e873 (patch)
treef48c4d8da61f8158631aff71b055351eca4cca53
parentebfd9e68d70c64d172648b04fc4377151f4b6dc9 (diff)
remove 'none' from connman security list.
SVN revision: 75412
-rwxr-xr-xeconnman-bin.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/econnman-bin.in b/econnman-bin.in
index 26311ea..6192e25 100755
--- a/econnman-bin.in
+++ b/econnman-bin.in
@@ -636,6 +636,11 @@ class ServicesList(object):
636 auto_connect = s.get("AutoConnect") 636 auto_connect = s.get("AutoConnect")
637 connected = (str(state) not in ("idle", "failure")) 637 connected = (str(state) not in ("idle", "failure"))
638 638
639 if security:
640 security = [str(x) for x in security]
641 if "none" in security:
642 security.remove("none")
643
639 if part == "elm.swallow.end": 644 if part == "elm.swallow.end":
640 bx = elm.Box(obj) 645 bx = elm.Box(obj)
641 bx.horizontal = True 646 bx.horizontal = True