Skip to content

Commit c332517

Browse files
committed
models/interfaces.py: fixing an 'is not defined' error
The method was being called as '_get_all_libvirt_interfaces' instead of 'self._get_all_libvirt_interfaces'. Signed-off-by: Daniel Henrique Barboza <[email protected]>
1 parent fd5c176 commit c332517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/interfaces.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def lookup(self, name):
5353
return info
5454

5555
def _is_interface_editable(self, iface):
56-
return iface in _get_all_libvirt_interfaces()
56+
return iface in self._get_all_libvirt_interfaces()
5757

5858
def _get_all_libvirt_interfaces(self):
5959
conn = LibvirtConnection("qemu:///system").get()

0 commit comments

Comments
 (0)