[Pkg-debile-commits] [debile-master] 66/126: remove log

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:16 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch scan-build-html
in repository debile-master.

commit c21d837f56ae849358958c6db969f831ff3a7b02
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jun 2 14:45:14 2013 -0400

    remove log
---
 lucy/server.py |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index 738f3cb..5584014 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -99,12 +99,11 @@ class LucyInterface(object):
         nj.save()
         return dict(nj)
 
-    def submit_report(self, report, log, job, failed):
+    def submit_report(self, report, job, failed):
         """
         Submit a report from a run.
 
         report - firehose lint job
-        log - full text of the run
         job - job ID this relates to
         failed - was it able to complete properly
         """
@@ -124,13 +123,7 @@ class LucyInterface(object):
             os.makedirs(path)
 
         path = os.path.join(path, 'log')
-
-        with open(path, 'w') as fd:
-            fd.write(log)
-
         report['log_path'] = os.path.join(uuid_path, 'log')
-        report.save()
-
         return report.save()
 
     def close_job(self, job):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git



More information about the Pkg-debile-commits mailing list