Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 241100 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +13 lines)
Line  Link Here
0
-- pym/_emerge/__init__.py.orig
0
++ pym/_emerge/__init__.py
Lines 2277-2282 Link Here
2277
		self.env = fetch_env
2277
		self.env = fetch_env
2278
		SpawnProcess._start(self)
2278
		SpawnProcess._start(self)
2279
2279
2280
	def _pipe(self, fd_pipes):
2281
		"""When appropriate, use a pty so that fetcher progress bars,
2282
		like wget has, will work properly."""
2283
		if self.background or not sys.stdout.isatty():
2284
			# When the output only goes to a log file,
2285
			# there's no point in creating a pty.
2286
			return os.pipe()
2287
		stdout_pipe = fd_pipes.get(1)
2288
		got_pty, master_fd, slave_fd = \
2289
			portage._create_pty_or_pipe(copy_term_size=stdout_pipe)
2290
		return (master_fd, slave_fd)
2291
2280
	def _set_returncode(self, wait_retval):
2292
	def _set_returncode(self, wait_retval):
2281
		SpawnProcess._set_returncode(self, wait_retval)
2293
		SpawnProcess._set_returncode(self, wait_retval)
2282
		# Collect elog messages that might have been
2294
		# Collect elog messages that might have been

Return to bug 241100