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,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: