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

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

src/s/p/spambayes-1.1b1/windows/pop3proxy_tray.py   spambayes(Download)
    def OnExit(self):
        if self.started and not self.use_service:
            try:
                sb_server.stop()
            except:
            if not use_service:
                if verbose: print "Stopping local server"
                sb_server.stop()
        except:
            print "There was an error stopping the server"

src/s/p/spambayes-1.1b1/windows/pop3proxy_service.py   spambayes(Download)
    def SvcStop(self):
        self.ReportServiceStatus(win32service.SERVICE_STOP_PENDING)
        self.event_stopping.set()
        sb_server.stop()