~townsend/autopilot/fix-gcalctool-desktop-file

« back to all changes in this revision

Viewing changes to autopilot/introspection/__init__.py

  • Committer: CI bot
  • Author(s): Thomi Richards, Max Brustkern
  • Date: 2014-04-08 00:29:44 UTC
  • mfrom: (459.6.5 logger-privatization)
  • Revision ID: ps-jenkins@lists.canonical.com-20140408002944-hkq216cwlrrbg3k7
Make logger objects within autopilot private. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
from autopilot._timeout import Timeout
59
59
 
60
60
 
61
 
logger = logging.getLogger(__name__)
 
61
_logger = logging.getLogger(__name__)
62
62
 
63
63
# Keep track of known connections during search
64
64
connection_list = []
382
382
            return False
383
383
        bus_pid = _get_bus_connections_pid(bus, connection_name)
384
384
    except DBusException as e:
385
 
        logger.info(
 
385
        _logger.info(
386
386
            "dbus.DBusException while attempting to get PID for %s: %r" %
387
387
            (connection_name, e))
388
388
        return False