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

(-)a/pym/portage/__init__.py (-1 / +7 lines)
Lines 256-262 class _unicode_func_wrapper(object): Link Here
256
		encoding = self._encoding
256
		encoding = self._encoding
257
		wrapped_args, wrapped_kwargs = self._process_args(args, kwargs)
257
		wrapped_args, wrapped_kwargs = self._process_args(args, kwargs)
258
258
259
		rval = self._func(*wrapped_args, **wrapped_kwargs)
259
		while True:
260
			try:
261
				rval = self._func(*wrapped_args, **wrapped_kwargs)
262
				break
263
			except OSError as e:
264
				if e.errno != errno.EINTR:
265
					raise
260
266
261
		# Don't use isinstance() since we don't want to convert subclasses
267
		# Don't use isinstance() since we don't want to convert subclasses
262
		# of tuple such as posix.stat_result in Python >=3.2.
268
		# of tuple such as posix.stat_result in Python >=3.2.

Return to bug 525552