/usr/share/pyaimt/src/services/PingService.py is in pyaimt 0.8.0.1-4.
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 | # Copyright 2004-2006 Daniel Henninger <jadestorm@nc.rr.com>
# Licensed for distribution under the GPL version 2, check COPYING for details
from twisted.internet import task
from debug import LogEvent, INFO, WARN, ERROR
class PingService:
def __init__(self, pytrans):
self.pytrans = pytrans
self.pingTask = task.LoopingCall(self.whitespace)
def whitespace(self):
self.pytrans.send(" ")
|