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

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/a/n/Anomos-HEAD/Anomos/download.py   Anomos(Download)
from Anomos.RateMeasure import RateMeasure
from Anomos.Rerequester import Rerequester
from Anomos.SingleportListener import SingleportListener
from Anomos.Storage import Storage, FilePool
from Anomos.StorageWrapper import StorageWrapper
    def post_certificate_load(self):
        self.sessionid = Anomos.Crypto.get_rand(8)
        self.ssl_ctx = self.certificate.get_ctx(allow_unknown_ca=True)
        self.singleport_listener = SingleportListener(self.config, self.ssl_ctx)
        self.singleport_listener.find_port(self.listen_fail_ok)
                        self.trackers[aurl][2]= Anomos.Crypto.get_rand(8)
                        self.trackers[aurl][3]= self.trackers[aurl][1].get_ctx(allow_unknown_ca=True)
                        self.trackers[aurl][4]= SingleportListener(self.config,
                                self.trackers[aurl][3])
                        self.trackers[aurl][4].find_port(self.listen_fail_ok)