[Pkg-debile-commits] [debile-master] 101/126: Removed nonsense code
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:56:23 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 b8c59ed5f69c725fd8dd0df9725db129bbc6e5ed
Author: Léo Cavaillé <leo at cavaille.net>
Date: Sat Jul 27 00:04:39 2013 +0200
Removed nonsense code
---
lucy/server.py | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/lucy/server.py b/lucy/server.py
index 2538b9d..23e76c6 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -87,14 +87,13 @@ class LucyInterface(object):
dsc=s.dsc,
)
- def get_log_write_location(self, job):
- path = os.path.join(config.get('path', 'job'), job.id, 'log')
+ def get_log_write_location(self, job_id):
+ # FIXME: unsafe code, we should verify if the job id exists
+ path = os.path.join(config.get('path', 'job'), job_id, 'log')
return path
- def get_firehose_write_location(self, job):
- session = Session()
- jobs = session.query(Job).filter(Job.machine == get_builder()).all()
- path = os.path.join(config.get('path', 'job'), job.id, 'firehose.xml')
+ def get_firehose_write_location(self, job_id):
+ path = os.path.join(config.get('path', 'job'), job_id, 'firehose.xml')
return path
def get_deb_info(self, binary_id):
--
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