Commit 7845b8c8 authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

Fix some small newline style issues


Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 1a8337f2
......@@ -387,7 +387,6 @@ def InitCluster(cluster_name, mac_prefix,
cfg.Update(cfg.GetClusterInfo(), logging.error)
backend.WriteSsconfFiles(cfg.GetSsconfValues())
# set up the inter-node password and certificate
_InitGanetiServerSetup(hostname.name)
......
......@@ -473,6 +473,7 @@ class IP6Address(IPAddress):
return address_int
def FormatAddress(family, address):
"""Format a socket address
......
......@@ -152,7 +152,6 @@ class TestIPAddress(unittest.TestCase):
self.assertFalse(netutils.IPAddress.IsValid("1.1.1.256"))
self.assertFalse(netutils.IPAddress.IsValid("a:g::1"))
def testGetAddressFamily(self):
fn = netutils.IPAddress.GetAddressFamily
self.assertEqual(fn("127.0.0.1"), socket.AF_INET)
......
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