"Fossies" - the Fresh Open Source Software Archive 
Member "revelation-0.5.4/src/lib/config.py.in" (4 Oct 2020, 2343 Bytes) of package /linux/privat/revelation-0.5.4.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "config.py.in":
0.5.3_vs_0.5.4.
1 #
2 # Revelation - a password manager for GNOME 2
3 # http://oss.codepoet.no/revelation/
4 # $Id$
5 #
6 # module for configuration handling
7 #
8 #
9 # Copyright (c) 2003-2006 Erik Grinaker
10 #
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #
25
26 from . import util
27 import gettext
28
29 _ = gettext.gettext
30
31 DIR_ICONS = "@pkgdatadir@/icons"
32 DIR_LOCALE = "@datadir@/locale"
33 DIR_UI = "@pkgdatadir@"
34 DIR_GSCHEMAS = "@pkgdatadir@/schemas"
35
36 APPNAME = "Revelation"
37 PACKAGE = "@PACKAGE@"
38 VERSION = "@VERSION@"
39 DATAVERSION = 2
40 RELNAME = "Drifting through the marsh we made it just outside the bend"
41 URL = "https://revelation.olasagasti.info/"
42 AUTHORS = [ "Erik Grinaker <erikg@codepoet.no>","Mikel Olasagasti Uranga <mikel@olasagasti.info>" ]
43 ARTISTS = [ "Erik Grinaker <erikg@codepoet.no>" ]
44 COPYRIGHT = _('Copyright') + " \251 2003-2007 Erik Grinaker\n2010-2020 Mikel Olasagasti Uranga"
45 LICENSE = _("""Revelation is free software; you can redistribute it and/or modify
46 it under the terms of the GNU General Public License as published by
47 the Free Software Foundation; either version 2 of the License, or
48 (at your option) any later version.
49
50 Revelation is distributed in the hope that it will be useful,
51 but WITHOUT ANY WARRANTY; without even the implied warranty of
52 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53 GNU General Public License for more details.
54
55 You should have received a copy of the GNU General Public License
56 along with Revelation; if not, write to the Free Software Foundation, Inc.,
57 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA""")
58
59
60
61 class ConfigError(Exception):
62 "Configuration error exception"
63 pass