[sysadmin-bin: 40/168] Don't prepend a blank link to subsequent mails
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 40/168] Don't prepend a blank link to subsequent mails
- Date: Thu, 24 May 2012 19:54:48 +0000 (UTC)
commit f67ef319275b17cd0e106dfb7a49e00a1b73491f
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Mar 6 11:46:19 2009 -0500
Don't prepend a blank link to subsequent mails
gnome-post-receive-email: Fix a bug where every mail after the
first one started with a blank link (and hence was rejected
at the mta)
gnome-post-receive-email | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-post-receive-email b/gnome-post-receive-email
index d3c2539..f5bcf9a 100755
--- a/gnome-post-receive-email
+++ b/gnome-post-receive-email
@@ -244,6 +244,8 @@ def do_send_emails(email_in):
if last_line.strip() != "":
os.write(current_file, last_line)
last_line = None
+ else:
+ last_line = None
os.close(current_file)
current_file = None
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]