[Pkg-debile-commits] [debile-master] 21/28: Forgot to call the config, oops !

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Wed Aug 21 13:36:52 UTC 2013


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

leo.cavaille-guest pushed a commit to branch master
in repository debile-master.

commit cf58f82e7656a771d05e44d9fe2511149357ea1d
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Aug 17 14:43:57 2013 +0200

    Forgot to call the config, oops !
---
 lucy/server.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index 8a02f77..06ad76a 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -232,7 +232,7 @@ class LucyInterface(object):
             raise Exception("Bad code is bad")
 
         dscpath = dscpath[0]
-        dscpath.replace(pool_path, pool_url)
+        dscpath.replace(pool_path, config.get('paths', 'pool_url'))
         return dscpath
 
     def get_write_location(self, job_uuid):
@@ -266,7 +266,7 @@ class LucyInterface(object):
             raise Exception("Bad code is bad")
 
         debpath = debpath[0]
-        debpath.replace(pool_path, pool_url)
+        debpath.replace(pool_path, config.get('paths', 'pool_url'))
         return debpath
 
     @machine_method

-- 
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