remove 'none' from connman security list.

SVN revision: 75412
This commit is contained in:
Gustavo Sverzut Barbieri 2012-08-18 12:09:01 +00:00
parent ebfd9e68d7
commit a11590bc39
1 changed files with 5 additions and 0 deletions

View File

@ -636,6 +636,11 @@ class ServicesList(object):
auto_connect = s.get("AutoConnect")
connected = (str(state) not in ("idle", "failure"))
if security:
security = [str(x) for x in security]
if "none" in security:
security.remove("none")
if part == "elm.swallow.end":
bx = elm.Box(obj)
bx.horizontal = True