Removed Debian-specific error messages.
This commit is contained in:
parent
3bf746f034
commit
b7ca428dfb
@ -13,12 +13,12 @@ import math
|
|||||||
try:
|
try:
|
||||||
import gtk
|
import gtk
|
||||||
except:
|
except:
|
||||||
print(sys.stderr, "Missing Python GTK2 bindings. (apt-get install python-gtk2)")
|
print(sys.stderr, "Missing Python GTK2 bindings.")
|
||||||
try:
|
try:
|
||||||
import vte
|
import vte
|
||||||
except:
|
except:
|
||||||
error = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,
|
error = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,
|
||||||
"Missing Python VTE bindings. (apt-get install python-vte)")
|
"Missing Python VTE bindings.")
|
||||||
error.run()
|
error.run()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user