[Pkg-debile-commits] [debile-master] 23/28: Replace badly paths removal
Léo Cavaillé
leo.cavaille-guest at alioth.debian.org
Wed Aug 21 13:36:53 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 c37362ab8c799d6a94f7b22e2a63eaddd61e712b
Author: Léo Cavaillé <leo at cavaille.net>
Date: Sat Aug 17 14:57:42 2013 +0200
Replace badly paths removal
---
lucy/server.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lucy/server.py b/lucy/server.py
index 2e47be2..d6722f3 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]
- return dscpath.replace(pool_path, config.get('paths', 'pool_url'))
+ return dscpath.replace(config.get('paths', 'pool_path'), config.get('paths', 'pool_url'))
def get_write_location(self, job_uuid):
"""
@@ -265,7 +265,7 @@ class LucyInterface(object):
raise Exception("Bad code is bad")
debpath = debpath[0]
- return debpath.replace(pool_path, config.get('paths', 'pool_url'))
+ return debpath.replace(config.get('paths', 'pool_path'), config.get('paths', 'pool_url'))
@machine_method
def get_current_jobs(self):
--
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