From 8a8d080c9e1c11cfb1b7474a1cb02671a646b217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Wed, 8 Feb 2012 08:53:14 +0100 Subject: [PATCH] Docstring : bridge is sometimes relevant --- slapos/format.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slapos/format.py b/slapos/format.py index 29fb43971..82ce21831 100644 --- a/slapos/format.py +++ b/slapos/format.py @@ -195,7 +195,7 @@ class Computer(object): for address in partition.address_list: if netaddr.valid_ipv6(address['addr']): computer_partition_address_list.append(address['addr']) - # Going through addresses of the computer's interface interface + # Going through addresses of the computer's interface for address_dict in self.interface.getGlobalScopeAddressList(): # Comparing with computer's partition addresses if address_dict['addr'] not in computer_partition_address_list: @@ -631,7 +631,7 @@ class Interface(object): return address_list def getInterfaceList(self): - """Returns list of interfaces already present on interface""" + """Returns list of interfaces already present on bridge""" interface_list = [] _, result = callAndRead(['brctl', 'show']) in_interface = False -- 2.30.9