Fixed to work on recent Ubuntu releases, and to update copyright.
This commit is contained in:
parent
be08ef4b9c
commit
7cae48d0d6
21
crussh.py
21
crussh.py
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# A cssh replacement written in Python / GTK.
|
# A cssh replacement written in Python / GTK.
|
||||||
# (c)2012 - Graeme Humphries <graeme@sudo.ca>.
|
# (c)2012-2017 - Tessa Nordgren <tessa@sudo.ca>.
|
||||||
# Released under the GPL, version 3: http://www.gnu.org/licenses/
|
# Released under the GPL, version 3: http://www.gnu.org/licenses/
|
||||||
|
|
||||||
# Requires: python-gtk2 python-vte
|
# Requires: python-gtk2 python-vte
|
||||||
@ -10,21 +10,12 @@ import sys
|
|||||||
import math
|
import math
|
||||||
import json
|
import json
|
||||||
import os.path
|
import os.path
|
||||||
|
import pygtk
|
||||||
try:
|
pygtk.require('2.0')
|
||||||
import gtk
|
import gtk
|
||||||
except:
|
import vte
|
||||||
print >>sys.stderr, "Missing Python GTK2 bindings."
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
from EntryDialog import EntryDialog
|
from EntryDialog import EntryDialog
|
||||||
|
|
||||||
try:
|
|
||||||
import vte
|
|
||||||
except:
|
|
||||||
print >>sys.stderr, "Missing Python VTE bindings."
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
### Config Dialog ###
|
### Config Dialog ###
|
||||||
class CruSSHConf:
|
class CruSSHConf:
|
||||||
|
Loading…
Reference in New Issue
Block a user