* usr/bin/byobu-config:

- throw an error message when we can't import snack
This commit is contained in:
Dustin Kirkland 2013-01-28 01:20:02 -06:00
commit 8ee756e62b
2 changed files with 7 additions and 3 deletions

2
debian/changelog vendored
View file

@ -23,6 +23,8 @@ byobu (5.30) unreleased; urgency=low
- the sed found in Mac OS X seems to really prefer a -e before expression - the sed found in Mac OS X seems to really prefer a -e before expression
* usr/share/byobu/pixmaps/Byobu.png: * usr/share/byobu/pixmaps/Byobu.png:
- image added for Mac OS X packaging - image added for Mac OS X packaging
* usr/bin/byobu-config:
- throw an error message when we can't import snack
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 19 Jan 2013 14:18:01 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 19 Jan 2013 14:18:01 -0600

View file

@ -29,9 +29,11 @@ import string
import subprocess import subprocess
import gettext import gettext
import glob import glob
import snack try:
from snack import * import snack
from snack import *
except:
error("Could not import the python snack module")
PKG = "byobu" PKG = "byobu"
HOME = os.getenv("HOME") HOME = os.getenv("HOME")
USER = os.getenv("USER") USER = os.getenv("USER")