Revision 1908, 1.1 kB
(checked in by jalet, 20 years ago)
|
Banner generator's skeleton added
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
Rev | Line | |
---|
[1908] | 1 | #! /usr/bin/env python |
---|
| 2 | # -*- coding: ISO-8859-15 -*- |
---|
| 3 | |
---|
| 4 | # A banner generator for PyKota |
---|
| 5 | # |
---|
| 6 | # PyKota - Print Quotas for CUPS and LPRng |
---|
| 7 | # |
---|
| 8 | # (c) 2003-2004 Jerome Alet <alet@librelogiciel.com> |
---|
| 9 | # This program is free software; you can redistribute it and/or modify |
---|
| 10 | # it under the terms of the GNU General Public License as published by |
---|
| 11 | # the Free Software Foundation; either version 2 of the License, or |
---|
| 12 | # (at your option) any later version. |
---|
| 13 | # |
---|
| 14 | # This program is distributed in the hope that it will be useful, |
---|
| 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | # GNU General Public License for more details. |
---|
| 18 | # |
---|
| 19 | # You should have received a copy of the GNU General Public License |
---|
| 20 | # along with this program; if not, write to the Free Software |
---|
| 21 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
| 22 | # |
---|
| 23 | # $Id$ |
---|
| 24 | # |
---|
| 25 | # $Log$ |
---|
| 26 | # Revision 1.1 2004/11/10 22:48:47 jalet |
---|
| 27 | # Banner generator's skeleton added |
---|
| 28 | # |
---|
| 29 | # |
---|
| 30 | # |
---|
| 31 | |
---|
| 32 | import sys |
---|
| 33 | import os |
---|
| 34 | |
---|
| 35 | def getInfo(name) : |
---|
| 36 | """Extracts some information from the environment.""" |
---|
| 37 | return os.environ.get(name, _("Unknown")) |
---|
| 38 | |
---|
| 39 | if __name__ == "__main__" : |
---|
| 40 | pass |
---|