Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2005-04-18 20:27:03 +0400
committerYann Leboulanger <asterix@lagaule.org>2005-04-18 20:27:03 +0400
commit17344ef0f81f5e5cccfa2a356eb1bdccab607244 (patch)
tree9b4d532ed7975f5d333e3c1bd878ce232a47652c
parentf493158886588ea9c80697a9d0ef767ac9effc6f (diff)
gajim.py is now executable
-rwxr-xr-xgajim.py61
-rwxr-xr-x[-rw-r--r--]src/gajim.py0
2 files changed, 0 insertions, 61 deletions
diff --git a/gajim.py b/gajim.py
deleted file mode 100755
index 192e83320..000000000
--- a/gajim.py
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-''':'
-exec python -OOtt "$0" ${1+"$@"}
-' '''
-##
-## Gajim Team:
-## - Yann Le Boulanger <asterix@lagaule.org>
-## - Vincent Hanquez <tab@snarc.org>
-##
-## Copyright (C) 2003-2005 Gajim Team
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published
-## by the Free Software Foundation; version 2 only.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-
-import logging
-logging.basicConfig()
-
-import common
-import Core
-
-from common import i18n
-i18n.init()
-_ = i18n._
-
-import getopt
-import sys
-import signal
-
-def usage():
- print "usage :", sys.argv[0], ' [OPTION]'
- print " -c\tlaunch Gajim as a client of a Gajim server"
- print " -h, --help\tdisplay this help and exit"
-
-try:
- opts, args = getopt.getopt(sys.argv[1:], "ch", ["help"])
-except getopt.GetoptError:
- # print help information and exit:
- usage()
- sys.exit(2)
-mode = 'server'
-for o, a in opts:
- if o == '-c':
- mode = 'client'
- if o in ("-h", "--help"):
- usage()
- sys.exit()
-
-# ^C exits the application
-signal.signal(signal.SIGINT, signal.SIG_DFL)
-
-Core.core.start(mode)
-print _("Core Stopped")
-
-
diff --git a/src/gajim.py b/src/gajim.py
index 227014dac..227014dac 100644..100755
--- a/src/gajim.py
+++ b/src/gajim.py