diff --git a/debian/changelog b/debian/changelog index 58050386..3ac6f913 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ byobu (5.40) unreleased; urgency=low - rephrase window rename help text * usr/bin/byobu-config: LP: #1166058 - handle non-existant keybindings file + * usr/bin/byobu-config: LP: #1125469 + - define error() function -- Dustin Kirkland Tue, 07 May 2013 22:01:40 -0500 diff --git a/usr/bin/byobu-config b/usr/bin/byobu-config index 6a9c3d42..eacb9cc6 100755 --- a/usr/bin/byobu-config +++ b/usr/bin/byobu-config @@ -29,11 +29,20 @@ import string import subprocess import gettext import glob + + +def error(msg): + print("ERROR: %s" % msg) + sys.exit(1) + + try: import snack from snack import * except: error("Could not import the python snack module") + + PKG = "byobu" HOME = os.getenv("HOME") USER = os.getenv("USER")