[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] dak/process_new.py (_accept)



Fix Philipps new helper function to not break by moving Upload.build_summaries there.
---
 ChangeLog          |    5 +++++
 dak/process_new.py |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 36294a1..0368c0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-02  Joerg Jaspert  <joerg@debian.org>
+
+	* dak/process_new.py (_accept): Fix Philipps new helper function
+	to not break by moving Upload.build_summaries there.
+
 2008-08-31  Philipp Kern  <pkern@debian.org>
 
 	* dak/process_new.py (_accept): new helper function to accept
diff --git a/dak/process_new.py b/dak/process_new.py
index f79c87e..6ac1d44 100755
--- a/dak/process_new.py
+++ b/dak/process_new.py
@@ -844,11 +844,11 @@ def move_to_holding(suite, queue_dir):
 def _accept():
     if Options["No-Action"]:
         return
+    (summary, short_summary) = Upload.build_summaries()
     Upload.accept(summary, short_summary)
     os.unlink(Upload.pkg.changes_file[:-8]+".dak")
 
 def do_accept_stableupdate(suite, q):
-    (summary, short_summary) = Upload.build_summaries()
     queue_dir = Cnf["Dir::Queue::%s" % (q,)]
     if not Upload.pkg.changes["architecture"].has_key("source"):
         # It is not a sourceful upload.  So its source may be either in p-u
-- 
1.5.6.3


Reply to: