We need to not bail out in sbuild
This commit is contained in:
parent
92b2b43e92
commit
90db9016bd
1
setup.py
1
setup.py
|
@ -16,6 +16,7 @@ def import_terminator():
|
||||||
exec module_file in module.__dict__
|
exec module_file in module.__dict__
|
||||||
return module
|
return module
|
||||||
|
|
||||||
|
TERMINATOR_BUILD = True
|
||||||
APP_VERSION = import_terminator().APP_VERSION
|
APP_VERSION = import_terminator().APP_VERSION
|
||||||
|
|
||||||
PO_DIR = 'po'
|
PO_DIR = 'po'
|
||||||
|
|
|
@ -65,10 +65,10 @@ else:
|
||||||
try:
|
try:
|
||||||
import gobject, gtk, pango
|
import gobject, gtk, pango
|
||||||
except:
|
except:
|
||||||
err (_("You need to install the python bindings for " \
|
if not TERMINATOR_BUILD:
|
||||||
"gobject, gtk and pango to run Terminator."))
|
err (_("You need to install the python bindings for " \
|
||||||
sys.exit(1)
|
"gobject, gtk and pango to run Terminator."))
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# import a library for viewing URLs
|
# import a library for viewing URLs
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue