sys.exit(0) is the same with sys.exit() :) [so nothing :P:P]
This commit is contained in:
parent
7c7cb2829a
commit
ea2a9e5617
|
@ -29,7 +29,7 @@ try:
|
||||||
except RuntimeError, msg:
|
except RuntimeError, msg:
|
||||||
if str(msg) == 'could not open display':
|
if str(msg) == 'could not open display':
|
||||||
print 'Gajim needs Xserver to run. Exiting...'
|
print 'Gajim needs Xserver to run. Exiting...'
|
||||||
sys.exit(0)
|
sys.exit()
|
||||||
import gtk.glade
|
import gtk.glade
|
||||||
import pango
|
import pango
|
||||||
import gobject
|
import gobject
|
||||||
|
@ -63,7 +63,7 @@ except getopt.error, msg:
|
||||||
for o, a in opts:
|
for o, a in opts:
|
||||||
if o in ('-h', '--help'):
|
if o in ('-h', '--help'):
|
||||||
print 'gajim [--help] [--verbose] [--profile name]'
|
print 'gajim [--help] [--verbose] [--profile name]'
|
||||||
sys.exit(0)
|
sys.exit()
|
||||||
elif o in ('-v', '--verbose'):
|
elif o in ('-v', '--verbose'):
|
||||||
gajim.verbose = True
|
gajim.verbose = True
|
||||||
elif o in ('-p', '--profile'): # gajim --profile name
|
elif o in ('-p', '--profile'): # gajim --profile name
|
||||||
|
|
Loading…
Reference in New Issue