/usr/share/pyshared/pymt/input/provider.py is in python-pymt 0.5.1-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | '''
Touch Provider: Abstract class for a provider
'''
__all__ = ('TouchProvider', )
class TouchProvider(object):
def __init__(self, device, args):
self.device = device
if self.__class__ == TouchProvider:
raise NotImplementedError, 'class TouchProvider is abstract'
def start(self):
pass
def stop(self):
pass
def update(self, dispatch_fn):
pass
|