Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/a/n/Anomos-HEAD/Anomos/Protocol/AnomosNeighborProtocol.py   Anomos(Download)
 
from Anomos.Protocol import PARTIAL, TCODE, tobinary, toint, AnomosProtocol
from Anomos.TCReader import TCReader
from Anomos import LOG as log
 
    def got_tcode(self, message):
        tcreader = TCReader(self.manager.certificate)
        try:
            tcdata = tcreader.parseTC(message[1:])
        except Anomos.Crypto.CryptoError, e:

src/a/n/Anomos-HEAD/Anomos/NeighborManager.py   Anomos(Download)
from Anomos.NeighborLink import NeighborLink
from Anomos.P2PConnection import P2PConnection
from Anomos.TCReader import TCReader
from Anomos.Protocol import NAT_CHECK_ID
from Anomos.Measure import Measure
            return
 
        tcreader = TCReader(self.certificate)
        try:
            tcdata = tcreader.parseTC(tc)