/usr/lib/python3/dist-packages/pysnmp/carrier/twisted/base.py is in python3-pysnmp4 4.2.5-1.
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 | #
# Copyright (C) 2008 Truelite Srl <info@truelite.it>
# Author: Filippo Giunchedi <filippo@truelite.it>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License Version 2
# as published by the Free Software Foundation
#
# Description: twisted DatagramProtocol UDP transport
#
from pysnmp.carrier.twisted.dispatch import TwistedDispatcher
from pysnmp.carrier.base import AbstractTransport
class AbstractTwistedTransport(AbstractTransport):
protoTransportDispatcher = TwistedDispatcher
"""Base Twisted Transport, to be used with TwistedDispatcher"""
def __init__(self):
self._writeQ = []
|