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

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Protocol/MimeRequestComponent.py   kamaelia(Download)
 
from Axon.Component import component, scheduler,linkage,newComponent
from Axon.Ipc import errorInformation
from Kamaelia.File.ReadFileAdaptor import ReadFileAdaptor
from Kamaelia.Support.Data.MimeObject import mimeObject
      except Kamaelia.Support.Data.requestLine.BadRequest:
         br = sys.exc_info()[1]
         errinf = errorInformation(self, br)
         self.send(errinf, "signal")
         return 0

src/k/a/Kamaelia-0.6.0/Kamaelia/Protocol/MimeRequestComponent.py   Kamaelia(Download)
 
from Axon.Component import component, scheduler,linkage,newComponent
from Axon.Ipc import errorInformation
from Kamaelia.File.ReadFileAdaptor import ReadFileAdaptor
from Kamaelia.Support.Data.MimeObject import mimeObject
         self.request = Kamaelia.Support.Data.requestLine.requestLine(self.requestLine)
      except Kamaelia.Support.Data.requestLine.BadRequest, br:
         errinf = errorInformation(self, br)
         self.send(errinf, "signal")
         return 0

src/k/a/kamaelia-HEAD/Sketches/JTL/HTTPServer.py   kamaelia(Download)
 
from Axon.Component import component, scheduler, linkage, newComponent
from Axon.Ipc import producerFinished, errorInformation
from Kamaelia.ReadFileAdaptor import ReadFileAdaptor
from Kamaelia.SimpleServerComponent import SimpleServer

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Protocol/MimeRequestComponent.py   kamaelia(Download)
 
from Axon.Component import component, scheduler,linkage,newComponent
from Axon.Ipc import errorInformation
from Kamaelia.File.ReadFileAdaptor import ReadFileAdaptor
from Kamaelia.Support.Data.MimeObject import mimeObject
         self.request = Kamaelia.Support.Data.requestLine.requestLine(self.requestLine)
      except Kamaelia.Support.Data.requestLine.BadRequest, br:
         errinf = errorInformation(self, br)
         self.send(errinf, "signal")
         return 0