montone: fix addition to list by using .append() instead of '+'
authorPulkit Goyal <pulkit@yandex-team.ru>
Wed, 30 Jan 2019 03:50:31 +0530
changeset 41503 210a999bd668
parent 41502 2f7408b7d247
child 41504 587a3c976892
montone: fix addition to list by using .append() instead of '+' Differential Revision: https://phab.mercurial-scm.org/D5739
hgext/convert/monotone.py
--- a/hgext/convert/monotone.py	Wed Jan 30 17:04:26 2019 -0500
+++ b/hgext/convert/monotone.py	Wed Jan 30 03:50:31 2019 +0530
@@ -102,7 +102,7 @@
 
         command.append('l')
         for arg in args:
-            command += "%d:%s" % (len(arg), arg)
+            command.append("%d:%s" % (len(arg), arg))
         command.append('e')
         command = ''.join(command)