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

(-)pym/portage.py (+8 lines)
Lines 2728-2733 Link Here
2728
					myfetch = [varexpand(x, mydict=variables) for x in lexer]
2728
					myfetch = [varexpand(x, mydict=variables) for x in lexer]
2729
2729
2730
					spawn_keywords = {}
2730
					spawn_keywords = {}
2731
					# Redirect all output to stdout since some fetchers like
2732
					# wget pollute stderr (if portage detects a problem then it
2733
					# can send it's own message to stderr).
2734
					spawn_keywords["fd_pipes"] = {
2735
						0:sys.stdin.fileno(),
2736
						1:sys.stdout.fileno(),
2737
						2:sys.stdout.fileno()
2738
					}
2731
					if "userfetch" in mysettings.features and \
2739
					if "userfetch" in mysettings.features and \
2732
						os.getuid() == 0 and portage_gid and portage_uid:
2740
						os.getuid() == 0 and portage_gid and portage_uid:
2733
						spawn_keywords.update({
2741
						spawn_keywords.update({

Return to bug 185930