[Pkg-debile-commits] [debile-master] 11/28: Fix bugs on source incoming process
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 18bac1137da676f658c214bd7f40a5b9e670cc79
Author: Léo Cavaillé <leo at cavaille.net>
Date: Sat Aug 17 00:07:35 2013 +0200
Fix bugs on source incoming process
---
lucy/archive.py | 2 +-
lucy/incoming.py | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lucy/archive.py b/lucy/archive.py
index 8679f50..e786116 100644
--- a/lucy/archive.py
+++ b/lucy/archive.py
@@ -130,7 +130,7 @@ class UserRepository:
with open(distribution_file, 'w') as f:
if compiler == 'source':
description = 'source packages'
- arches = 'source'
+ arches = ['source']
else:
description = 'binary packages compiled with %s'
f.write(
diff --git a/lucy/incoming.py b/lucy/incoming.py
index 3375459..5981e4b 100644
--- a/lucy/incoming.py
+++ b/lucy/incoming.py
@@ -99,7 +99,10 @@ def accept_source(changes, user):
try:
ur = UserRepository(owner)
ur.add_source(s)
-# path = move_to_pool_source(s, changes)
+# path = move_to_pool_source(s, changes)
+ # Cleaning up !
+ for entry in changes.get_files():
+ os.unlink(entry)
os.unlink(changes.get_filename())
session.commit()
except:
--
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