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

(-)emerge.orig (-1 / +8 lines)
Lines 14-20 Link Here
14
import portage
14
import portage
15
if (not sys.stdout.isatty()) or (portage.settings["NOCOLOR"] in ["yes","true"]):
15
if (not sys.stdout.isatty()) or (portage.settings["NOCOLOR"] in ["yes","true"]):
16
	nocolor()
16
	nocolor()
17
17
	
18
if "psyco" in portage.features:
19
	try:
20
		import psyco
21
	except ImportError:
22
		print "!!! You need Pysco installed or set FEATURES=\"-psyco\" in make.conf"
23
		sys.exit(1)
24
		
18
def normpath(mystr):
25
def normpath(mystr):
19
	if mystr and (mystr[0]=='/'):
26
	if mystr and (mystr[0]=='/'):
20
		return os.path.normpath("///"+mystr)
27
		return os.path.normpath("///"+mystr)

Return to bug 45793