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

(-)pym/portage_util.py (-1 / +1 lines)
Lines 852-858 Link Here
852
		created_dir = True
852
		created_dir = True
853
	except OSError, oe:
853
	except OSError, oe:
854
		func_call = "makedirs('%s')" % dir_path
854
		func_call = "makedirs('%s')" % dir_path
855
		if errno.EEXIST == oe.errno:
855
		if oe.errno in (errno.EEXIST, errno.EISDIR):
856
			pass
856
			pass
857
		elif oe.errno == errno.EPERM:
857
		elif oe.errno == errno.EPERM:
858
			raise OperationNotPermitted(func_call)
858
			raise OperationNotPermitted(func_call)

Return to bug 187518