[sysadmin-bin: 155/168] gnome-post-receive-email: utf-8 header



commit f73e9215b0a9e6d54ea406f23f3f51f8e336402c
Author: Olav Vitters <olav vitters nl>
Date:   Tue Jun 14 20:51:45 2011 +0200

    gnome-post-receive-email: utf-8 header

 gnome-post-receive-email |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-post-receive-email b/gnome-post-receive-email
index 76d1d08..05582a3 100755
--- a/gnome-post-receive-email
+++ b/gnome-post-receive-email
@@ -114,9 +114,9 @@ class RefChange(object):
     def generate_header(self, out, subject, include_revs=True, oldrev=None, newrev=None, cc=None):
         user = os.environ['USER']
         if user_fullname:
-            from_address = u"%s <%s src gnome org>" % (user_fullname, user)
+            from_address = "%s <%s src gnome org>" % (user_fullname, user)
         else:
-            from_address = u"%s src gnome org" % (user)
+            from_address = "%s src gnome org" % (user)
 
         if cc is None:
             cc = self.cc



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