Did I find the right examples for you? yes no

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

src/o/e/oe-core-HEAD/scripts/lib/mic/plugins/backend/zypppkgmgr.py   oe-core(Download)
 
        # start to catch stderr output from librpm
        msger.enable_logstderr(installlogfile)
 
        errors = self.ts_pre.run(cb.callback, '')
 
            # start to catch stderr output from librpm
            msger.enable_logstderr(installlogfile)
 
            errors = self.ts.run(cb.callback, '')

src/o/e/oe-core-HEAD/scripts/lib/mic/plugins/backend/yumpkgmgr.py   oe-core(Download)
 
            installlogfile = "%s/__catched_stderr.buf" % (self.instroot)
            msger.enable_logstderr(installlogfile)
            self.runTransaction(cb)
            self._cleanupRpmdbLocks(self.conf.installroot)

src/m/i/mic-HEAD/plugins/backend/zypppkgmgr.py   mic(Download)
 
        # start to catch stderr output from librpm
        msger.enable_logstderr(installlogfile)
 
        errors = self.ts_pre.run(cb.callback, '')
 
            # start to catch stderr output from librpm
            msger.enable_logstderr(installlogfile)
 
            errors = self.ts.run(cb.callback, '')

src/m/i/mic-HEAD/plugins/backend/yumpkgmgr.py   mic(Download)
 
            installlogfile = "%s/__catched_stderr.buf" % (self.instroot)
            msger.enable_logstderr(installlogfile)
            self.runTransaction(cb)
            self._cleanupRpmdbLocks(self.conf.installroot)

src/m/i/mic-HEAD/tests/unittest/test_msger.py   mic(Download)
    def testLogstderr(self):
        excepted = "hello\n"
        cwd = os.getcwd()
        msger.enable_logstderr(cwd + "/__tmp_err.log")
        print >>sys.stderr, "hello"