Process tracebacks as utf-8 quentin
authorQuentin Smith <quentin@mit.edu>
Fri, 15 Jun 2018 05:49:09 +0000 (01:49 -0400)
committerQuentin Smith <quentin@mit.edu>
Fri, 15 Jun 2018 05:49:09 +0000 (01:49 -0400)
debian/changelog
invirtibuilder

index d2febb1..854e58c 100644 (file)
@@ -1,3 +1,10 @@
+invirt-dev (0.1.30) unstable; urgency=low
+
+  * Process tracebacks as utf-8 because apt now uses Unicode line-drawing
+    characters.
+
+ -- Quentin Smith <quentin@mit.edu>  Fri, 15 Jun 2018 01:49:00 -0400
+
 invirt-dev (0.1.29) precise; urgency=low
 
   * Remove the build-source-package-in-schroot hack now that we have a
index 43f09f1..295cb7d 100755 (executable)
@@ -433,7 +433,7 @@ def build():
 
                     db.failed_stage = 'cleaning up'
         except:
-            db.traceback = traceback.format_exc()
+            db.traceback = traceback.format_exc().decode('utf-8')
         else:
             db.succeeded = True
             db.failed_stage = None