Ticket #1890: 0001-fix-broken-log-statement-in-OlpcMeshManager._activat.patch

File 0001-fix-broken-log-statement-in-OlpcMeshManager._activat.patch, 1.1 KB (added by sascha_silbe, 11 years ago)

fix broken log statement in OlpcMeshManager._activate_connection()

  • src/jarabe/model/olpcmesh.py

    From c1b71282f812120cc405d24ba75c53ac50854601 Mon Sep 17 00:00:00 2001
    From: Sascha Silbe <sascha-org-sugar-git@silbe.org>
    Date: Wed, 24 Mar 2010 12:10:50 +0100
    Subject: [PATCH] fix broken log statement in OlpcMeshManager._activate_connection()
    
    ---
     src/jarabe/model/olpcmesh.py |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/jarabe/model/olpcmesh.py b/src/jarabe/model/olpcmesh.py
    index cbd7ddd..7215d53 100644
    a b class OlpcMeshManager(object): 
    170170        logging.error('Failed to activate connection: %s', err)
    171171
    172172    def _activate_connection(self, channel, anycast_address=None):
    173         logging.debug("activate channel %d anycast %s",
    174                       (channel, repr(anycast_address)))
     173        logging.debug("activate channel %d anycast %r",
     174                      channel, anycast_address)
    175175        proxy = self._bus.get_object(_NM_SERVICE, _NM_PATH)
    176176        network_manager = dbus.Interface(proxy, _NM_IFACE)
    177177        connection = self._make_connection(channel, anycast_address)