fix ConnectionZeroconf initialization

This commit is contained in:
Yann Leboulanger 2009-11-18 11:16:15 +01:00
parent 86b39a72c6
commit 4671f62d2f
1 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,6 @@ from connection_handlers_zeroconf import *
class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
'''Connection class'''
def __init__(self, name):
CommonConnection.__init__(self, name)
ConnectionHandlersZeroconf.__init__(self)
# system username
self.username = None
@ -64,7 +63,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
self.password = 'zeroconf'
self.autoconnect = False
self.get_config_values_or_default()
CommonConnection.__init__(self, name)
def get_config_values_or_default(self):
''' get name, host, port from config, or