]> diplodocus.org Git - flac-archive/commitdiff
Oops, abs(status) in SubprocessError.
author <epg@pretzelnet.org> <>
Wed, 26 Dec 2012 18:00:00 +0000 (10:00 -0800)
committer <epg@pretzelnet.org> <>
Wed, 26 Dec 2012 18:00:00 +0000 (10:00 -0800)
rewrite-tags

index fe65a2441544f52a436a6f2c91c55e00c22e5a7e..84eb1f8b1bda519e88ff2a8476636736cedd235f 100755 (executable)
@@ -13,7 +13,7 @@ class SubprocessError(Exception):
             msg = 'exited due to signal %d'
         else:
             msg = 'exit status %d'
-        Exception.__init__(self, msg % (status,))
+        Exception.__init__(self, msg % (abs(status),))
         self.status = status
         self.stderr = stderr