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

(-)/tmp/ttb-0.9.4/setup.py (-2 / +6 lines)
Lines 10-15 Link Here
10
import sys
10
import sys
11
import glob
11
import glob
12
import os.path
12
import os.path
13
import os
14
15
del os.environ['DISPLAY']
13
16
14
try:
17
try:
15
    from distutils.core import setup
18
    from distutils.core import setup
Lines 61-68 Link Here
61
64
62
try:
65
try:
63
    import gtk, gtk.glade
66
    import gtk, gtk.glade
64
except:
67
except RuntimeError, rte:
65
        sys.exit ("""
68
	if (rte.args[0] != "could not open display"):
69
        	sys.exit ("""
66
    TTB Installation Failed
70
    TTB Installation Failed
67
    -----------------------
71
    -----------------------
68
    You don't seem to have the gtk and/or gtk.glade modules for
72
    You don't seem to have the gtk and/or gtk.glade modules for

Return to bug 107811