Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 382233
Collapse All | Expand All

(-)/usr/lib/portage/pym/portage/getbinpkg.py.orig (-1 / +6 lines)
Lines 292-299 Link Here
292
	if dest:
292
	if dest:
293
		dest.write(response.read())
293
		dest.write(response.read())
294
		return "",0,""
294
		return "",0,""
295
	
296
	# portage likes strings
297
	resp = response.read()
298
	if isinstance(resp, bytes):
299
		resp=str(resp, encoding='latin-1')
295
300
296
	return response.read(),0,""
301
	return resp,0,""
297
302
298
303
299
def match_in_array(array, prefix="", suffix="", match_both=1, allow_overlap=0):
304
def match_in_array(array, prefix="", suffix="", match_both=1, allow_overlap=0):

Return to bug 382233