threader: Use 'str' instead of non-existant 'string' function.
[patchq.git] / threader.py
index 22416e6..df1d28f 100755 (executable)
@@ -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)