We need to not bail out in sbuild

This commit is contained in:
Chris Jones 2008-06-18 10:21:00 +01:00
parent 92b2b43e92
commit 90db9016bd
2 changed files with 5 additions and 4 deletions

View File

@ -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'

View File

@ -65,11 +65,11 @@ else:
try: try:
import gobject, gtk, pango import gobject, gtk, pango
except: except:
if not TERMINATOR_BUILD:
err (_("You need to install the python bindings for " \ err (_("You need to install the python bindings for " \
"gobject, gtk and pango to run Terminator.")) "gobject, gtk and pango to run Terminator."))
sys.exit(1) sys.exit(1)
# import a library for viewing URLs # import a library for viewing URLs
try: try:
# gnome.url_show() is really useful # gnome.url_show() is really useful