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

(-)esearch.orig/esearch.py (-1 / +4 lines)
Lines 13-19 Link Here
13
sys.path.insert(0, "/usr/lib/portage/pym")
13
sys.path.insert(0, "/usr/lib/portage/pym")
14
sys.path.insert(0, "/usr/lib/esearch")
14
sys.path.insert(0, "/usr/lib/esearch")
15
15
16
from output import bold, red, green, darkgreen, turquoise, nocolor
16
try:
17
    from portage.output import bold, red, green, darkgreen, turquoise, nocolor
18
except ImportError:
19
    from output import bold, red, green, darkgreen, turquoise, nocolor
17
from os.path import exists
20
from os.path import exists
18
import re
21
import re
19
22
(-)esearch.orig/esync.py (-1 / +4 lines)
Lines 18-24 Link Here
18
sys.path.insert(0, "/usr/lib/portage/pym")
18
sys.path.insert(0, "/usr/lib/portage/pym")
19
19
20
import portage
20
import portage
21
from output import red, green, bold, darkgreen, nocolor, xtermTitle
21
try:
22
    from portage.output import red, green, bold, darkgreen, nocolor, xtermTitle
23
except ImportError:
24
    from output import red, green, bold, darkgreen, nocolor, xtermTitle
22
25
23
from common import needdbversion
26
from common import needdbversion
24
27
(-)esearch.orig/eupdatedb.py (-1 / +4 lines)
Lines 20-26 Link Here
20
sys.path.insert(0, "/usr/lib/esearch")
20
sys.path.insert(0, "/usr/lib/esearch")
21
21
22
import portage
22
import portage
23
from output import red, darkgreen, green, bold, nocolor
23
try:
24
    from portage.output import red, darkgreen, green, bold, nocolor
25
except ImportError:
26
    from output import red, darkgreen, green, bold, nocolor
24
27
25
from common import needdbversion, version
28
from common import needdbversion, version
26
29

Return to bug 244450