Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | The "tuple parameter unpacking" was removed in Python3. To get more detail, see https://www.python.org/dev/peps/pep-3113/ |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
7b63c6bb0d36597f86602e7bb32a8760 |
| User & Date: | FomalhautWeisszwerg 2017-02-07 03:27:39.913 |
Context
|
2017-02-07
| ||
| 09:28 | Add: tiny example. check-in: d0552fb818 user: FomalhautWeisszwerg tags: trunk | |
| 03:27 | The "tuple parameter unpacking" was removed in Python3. To get more detail, see https://www.python.org/dev/peps/pep-3113/ check-in: 7b63c6bb0d user: FomalhautWeisszwerg tags: trunk | |
|
2013-05-28
| ||
| 02:38 | improve readability. check-in: 62edca4efb user: weisszwerg@gmail.com tags: trunk | |
Changes
Changes to pyrad/curved.py.
| ︙ | ︙ | |||
31 32 33 34 35 36 37 |
def processPacket(self, pkt):
pass
def createPacket(self, **kwargs):
raise NotImplementedError('Attempted to use a pure base class')
| | > | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
def processPacket(self, pkt):
pass
def createPacket(self, **kwargs):
raise NotImplementedError('Attempted to use a pure base class')
def datagramReceived(self, datagram, source_addr):
host, port = source_addr
try:
pkt = self.CreatePacket(packet=datagram)
except packet.PacketError as err:
log.msg('Dropping invalid packet: ' + str(err))
return
if host not in self.hosts:
|
| ︙ | ︙ |