Mercurial > pyarq-presupuestos
comparison Generic/config.py @ 1:2ac1551ad2ab version 0.0.0
add code
| author | Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es> |
|---|---|
| date | Sun, 31 Oct 2010 20:07:33 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:a1703c4f2990 | 1:2ac1551ad2ab |
|---|---|
| 1 #!/usr/bin/python | |
| 2 # -*- coding: utf-8 -*- | |
| 3 ## File config.py | |
| 4 ## This file is part of pyArq-Presupuestos. | |
| 5 ## | |
| 6 ## Copyright (C) 2010 Miguel Ángel Bárcena Rodríguez | |
| 7 ## <miguelangel@obraencurso.es> | |
| 8 ## | |
| 9 ## pyArq-Presupuestos 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 3 of the License, or | |
| 12 ## (at your option) any later version. | |
| 13 ## | |
| 14 ## pyArq-Presupuestos 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, see <http://www.gnu.org/licenses/>. | |
| 21 | |
| 22 """config module | |
| 23 | |
| 24 Unused module | |
| 25 """ | |
| 26 class Config(object): | |
| 27 """config.Config: | |
| 28 | |
| 29 Description: | |
| 30 Config object | |
| 31 Ancestry: | |
| 32 +-- object | |
| 33 +-- Config | |
| 34 Atributes: | |
| 35 "": | |
| 36 Methods: | |
| 37 | |
| 38 """ | |
| 39 def __init__(self): | |
| 40 self.__path = "" | |
| 41 def _getPath(self): | |
| 42 return self.__path | |
| 43 def _setPath(self, path): | |
| 44 self.__path = path | |
| 45 path = property(_getPath, _setPath, None, | |
| 46 """Base path where find all the program files needed""") |
