Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eta
gajim
Commits
17344ef0
Commit
17344ef0
authored
20 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
gajim.py is now executable
parent
f4931588
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gajim.py
+0
-61
0 additions, 61 deletions
gajim.py
src/gajim.py
+0
-0
0 additions, 0 deletions
src/gajim.py
with
0 additions
and
61 deletions
gajim.py
deleted
100755 → 0
+
0
−
61
View file @
f4931588
#!/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
\t
launch Gajim as a client of a Gajim server
"
print
"
-h, --help
\t
display 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
"
)
This diff is collapsed.
Click to expand it.
src/gajim.py
100644 → 100755
+
0
−
0
View file @
17344ef0
File mode changed from 100644 to 100755
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment