Commit 481c2342 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

[views] fix typobug

--HG--
branch : stable
parent b72206ef1ae5
......@@ -10,7 +10,7 @@ class HostForm(autoform.AutomaticEntityForm):
if hosts:
lst = [ (u'Hosts', None) ] + [ (e.view('combobox'), e.eid)
for e in hosts.entities() ]
if device:
if devices:
lst+= [ (u'Devices', None)]+ [ (e.view('combobox'), e.eid)
for e in devices.entities() ]
return lst
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment