fix typo; also include _svn
This commit is contained in:
parent
7a0c0311db
commit
70b0fefd11
|
@ -43,7 +43,7 @@ if gtk.pygtk_version < (2, 6, 0):
|
||||||
pritext = _('Gajim needs PyGTK 2.6 or above')
|
pritext = _('Gajim needs PyGTK 2.6 or above')
|
||||||
sectext = _('Gajim needs PyGTK 2.6 or above to run. Quiting...')
|
sectext = _('Gajim needs PyGTK 2.6 or above to run. Quiting...')
|
||||||
elif gtk.gtk_version < (2, 6, 0):
|
elif gtk.gtk_version < (2, 6, 0):
|
||||||
pritext = _('Gajim needs GTK 2.6 or above+')
|
pritext = _('Gajim needs GTK 2.6 or above')
|
||||||
sectext = _('Gajim needs GTK 2.6 or above to run. Quiting...')
|
sectext = _('Gajim needs GTK 2.6 or above to run. Quiting...')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -58,7 +58,7 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
from common import check_paths
|
from common import check_paths
|
||||||
except exceptions.PysqliteNotAvailable, e:
|
except exceptions.PysqliteNotAvailable, e:
|
||||||
pritext = _('Gajim needs Pysqlite2 to run')
|
pritext = _('Gajim needs PySQLite2 to run')
|
||||||
sectext = str(e)
|
sectext = str(e)
|
||||||
|
|
||||||
if pritext:
|
if pritext:
|
||||||
|
@ -74,7 +74,7 @@ if pritext:
|
||||||
check_paths.check_and_possibly_create_paths()
|
check_paths.check_and_possibly_create_paths()
|
||||||
|
|
||||||
path = os.getcwd()
|
path = os.getcwd()
|
||||||
if '.svn' in os.listdir(path):
|
if '.svn' in os.listdir(path) or '_svn' in os.listdir(path):
|
||||||
# import gtkexcepthook only for those that run svn
|
# import gtkexcepthook only for those that run svn
|
||||||
# those than run with --verbose run from terminal so no need to care
|
# those than run with --verbose run from terminal so no need to care
|
||||||
# about those
|
# about those
|
||||||
|
|
Loading…
Reference in New Issue