mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-config:
- throw an error message when we can't import snack
This commit is contained in:
parent
12d44d96b8
commit
8ee756e62b
2 changed files with 7 additions and 3 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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
|
||||
* usr/share/byobu/pixmaps/Byobu.png:
|
||||
- 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
|
||||
|
||||
|
|
|
@ -29,9 +29,11 @@ import string
|
|||
import subprocess
|
||||
import gettext
|
||||
import glob
|
||||
import snack
|
||||
from snack import *
|
||||
|
||||
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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue