[Pkg-debile-commits] [debile-master] 102/126: Fixed typo in config key

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 fca37d7e4c89f4c6a09fb7a17570ae7dfb6c3fd5
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Jul 27 00:08:43 2013 +0200

    Fixed typo in config key
---
 lucy/server.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index 23e76c6..a3db986 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -1,4 +1,4 @@
-from sqlalchemy import create_engine
+G
 from sqlalchemy.orm import sessionmaker, scoped_session, with_polymorphic, contains_eager, joinedload
 from sqlalchemy.orm.util import aliased
 from sqlalchemy.orm.exc import NoResultFound, MultipleResultsFound
@@ -89,11 +89,11 @@ class LucyInterface(object):
 
     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')
+        path = os.path.join(config.get('paths', 'job'), job_id, 'log')
         return path
 
     def get_firehose_write_location(self, job_id):
-        path = os.path.join(config.get('path', 'job'), job_id, 'firehose.xml')
+        path = os.path.join(config.get('paths', '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