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

« back to all changes in this revision

Viewing changes to autopilot/input/__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:
62
62
 
63
63
import logging
64
64
 
65
 
logger = logging.getLogger(__name__)
 
65
_logger = logging.getLogger(__name__)
66
66
 
67
67
 
68
68
class Keyboard(CleanupRegistered):
282
282
 
283
283
        from autopilot.platform import model
284
284
        if model() != 'Desktop':
285
 
            logger.info(
 
285
            _logger.info(
286
286
                "You cannot create a Mouse on the devices where X11 is not "
287
287
                "available. consider using a Touch or Pointer device. "
288
288
                "For more information, see: "