From d39bd5345af82e3acbdc1ecb348951b05a5ed1f6 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 25 Feb 2020 11:04:34 -0600 Subject: Remove now unnecessary explicit Unicode string literal prefixes --- git/refs/log.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'git/refs/log.py') diff --git a/git/refs/log.py b/git/refs/log.py index 965b26c7..fcd2c23c 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -37,13 +37,13 @@ class RefLogEntry(tuple): """:return: a string suitable to be placed in a reflog file""" act = self.actor time = self.time - return u"{} {} {} <{}> {!s} {}\t{}\n".format(self.oldhexsha, - self.newhexsha, - act.name, - act.email, - time[0], - altz_to_utctz_str(time[1]), - self.message) + return "{} {} {} <{}> {!s} {}\t{}\n".format(self.oldhexsha, + self.newhexsha, + act.name, + act.email, + time[0], + altz_to_utctz_str(time[1]), + self.message) @property def oldhexsha(self): -- cgit v1.2.1