changeset 1525:3476b7a945fb

svnwrap: work around getting a bytearray instead of a string in SimpleStringIO
author Augie Fackler <raf@durin42.com>
date Wed, 30 Aug 2017 23:58:15 -0400
parents c5de1adc3092
children 5adfb81c4680
files hgsubversion/svnwrap/common.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/common.py
+++ b/hgsubversion/svnwrap/common.py
@@ -164,7 +164,7 @@ class SimpleStringIO(object):
         self._blocks.append(s)
 
     def getvalue(self):
-        return ''.join(self._blocks)
+        return ''.join(str(s) for s in self._blocks)
 
     def close(self):
         if self._closing: