[sysadmin-bin] Drop useless decode
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Drop useless decode
- Date: Thu, 30 Jul 2020 12:34:50 +0000 (UTC)
commit ddbec09664c4a13ac0a73df15731d2bb76ab2182
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Jul 30 14:34:13 2020 +0200
Drop useless decode
git/gnome-post-receive-email | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/gnome-post-receive-email b/git/gnome-post-receive-email
index cc31447..2fc90f4 100755
--- a/git/gnome-post-receive-email
+++ b/git/gnome-post-receive-email
@@ -134,7 +134,7 @@ class RefChange(object):
def generate_header(self, out, subject, include_revs=True, oldrev=None, newrev=None, cc=None):
if user_fullname:
- from_address = "%s <%s src gnome org>" % (Header(user_fullname.decode("utf-8")), user_entry)
+ from_address = "%s <%s src gnome org>" % (Header(user_fullname), user_entry)
else:
if socket.gethostname() == 'gitlab.gnome.org':
from_address = "%s <%s>" % (Header(gitlab_name), gitlab_email)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]