From: Richard W.M. Jones Date: Fri, 7 Jul 2017 09:29:47 +0000 (+0100) Subject: threader: Use 'str' instead of non-existant 'string' function. X-Git-Url: http://git.annexia.org/?p=patchq.git;a=commitdiff_plain;h=5987fa80bcdf04d57e279e5046dd14e6ccd854d8 threader: Use 'str' instead of non-existant 'string' function. Strong typing FTW. --- diff --git a/threader.py b/threader.py index 22416e6..df1d28f 100755 --- a/threader.py +++ b/threader.py @@ -95,7 +95,7 @@ def process_patch(m, method, title, part, n): h.update(m['From']) h.update(m['To']) h.update(title) - h.update(string(n)) + h.update(str(n)) parent_id = h.hexdigest() thread_patch(m, method, parent_id, part, n)