shithub: choc

Download patch

ref: 0cdea860dcb7f3f151c896ece8418e38b8b1803f
parent: 7dc588ee07686eab554c3bdfd6f98953c4affa7f
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Mon Jan 23 03:10:34 EST 2017

win32: Make cp-with-libs python3 compatible.

--- a/pkg/win32/cp-with-libs
+++ b/pkg/win32/cp-with-libs
@@ -71,7 +71,7 @@
 	try:
 		result = []
 		for line in cmd.stdout:
-			m = DLL_NAME_RE.match(line)
+			m = DLL_NAME_RE.match(line.decode())
 			if m:
 				dll = m.group(1)
 				if dll.lower() not in WIN32_DLLS: