[Pkg-debile-commits] [debile-master] 09/28: Fixed the path of source incoming dirs

Léo Cavaillé leo.cavaille-guest at alioth.debian.org
Wed Aug 21 13:36:50 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 f94bc7a7a3dcfb19ad3ffec69ab3d1b002d952f8
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Fri Aug 16 23:55:15 2013 +0200

    Fixed the path of source incoming dirs
---
 lucy/incoming.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lucy/incoming.py b/lucy/incoming.py
index a6d807b..25f94e4 100644
--- a/lucy/incoming.py
+++ b/lucy/incoming.py
@@ -19,15 +19,15 @@ def listize(entry):
 
 def process():
     config = Config()
-    incoming = config.get('paths', 'incoming')
-    pcf = lambda x: parse_changes_file(x, incoming)
     session = Session()
     users = session.query(User).all()
     # Loop on all users
     # See UserRepository documentation for path composition
     for u in users:
+        source_incoming = os.path.join(config.get('paths', 'incoming'), u.login, 'source')
+        pcf = lambda x: parse_changes_file(x, source_incoming)
         # Process source incoming
-        with cd(os.path.join(incoming,u.login, 'source')):
+        with cd(source_incoming):
             for changes in fglob("*changes", pcf):
                 accept_source(changes, u)
 

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