annotate src/core/default_config.py @ 605:c8b129a3c209

core: fixed sendMessage
author Goffi <goffi@goffi.org>
date Sat, 23 Feb 2013 12:25:34 +0100
parents cc09cc8c78fc
children 84a6e83157c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/python
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
3
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
4 """
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
5 SAT: a jabber client
572
ca13633d3b6b dates update
Goffi <goffi@goffi.org>
parents: 480
diff changeset
6 Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org)
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
7
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
8 This program is free software: you can redistribute it and/or modify
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 459
diff changeset
9 it under the terms of the GNU Affero General Public License as published by
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
10 the Free Software Foundation, either version 3 of the License, or
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
11 (at your option) any later version.
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
12
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
13 This program is distributed in the hope that it will be useful,
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 459
diff changeset
16 GNU Affero General Public License for more details.
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
17
480
2a072735e459 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
Goffi <goffi@goffi.org>
parents: 459
diff changeset
18 You should have received a copy of the GNU Affero General Public License
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
20 """
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
21
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
22 CONST = {
589
d1b4805124a1 Fix pep8 support in src/core.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 581
diff changeset
23 'client_name': u'SàT (Salut à toi)',
597
cc09cc8c78fc core: version update to development version
Goffi <goffi@goffi.org>
parents: 589
diff changeset
24 'client_version': u'0.3.0D', # Please add 'D' at the end for dev versions
589
d1b4805124a1 Fix pep8 support in src/core.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 581
diff changeset
25 'local_dir': '~/.sat'
364
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
26 }
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
27
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
28 ### Defaut configuration values ###
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
29
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
30 default_config = {
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
31 'local_dir': '~/.sat',
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
32 'media_dir': '/usr/share/sat/media',
312ca6f9d84a core: configuration file
Goffi <goffi@goffi.org>
parents:
diff changeset
33 }