--- connection.py.old 2013-02-20 11:29:22.698547535 +0700 +++ connection.py.new 2013-02-20 11:23:51.000000000 +0700 @@ -1309,7 +1309,7 @@ hostname = gajim.config.get_per('accounts', self.name, 'hostname') self.connection = con try: - errnum = con.Connection.ssl_errnum + errnum = [con.Connection.ssl_errnum] except AttributeError: errnum = [] # we don't have an errnum i = 0