Last change
on this file was
841,
checked in by jripsl, 11 years ago
|
- add static class initialisation function.
|
File size:
817 bytes
|
Line | |
---|
1 | # -*- coding: ISO-8859-1 -*- |
---|
2 | |
---|
3 | ################################## |
---|
4 | # @program smon |
---|
5 | # @description simulation monitor |
---|
6 | # @copyright Copyright â(c)2009 Centre National de la Recherche Scientifique CNRS. |
---|
7 | # All Rights Reservedâ |
---|
8 | # @svn_file $Id: smon.py 2599 2013-03-24 19:01:23Z jripsl $ |
---|
9 | # @version $Rev: 2599 $ |
---|
10 | # @lastrevision $Date: 2013-03-24 20:01:23 +0100 (Sun, 24 Mar 2013) $ |
---|
11 | # @license CeCILL (http://dods.ipsl.jussieu.fr/jripsl/smon/LICENSE) |
---|
12 | ################################## |
---|
13 | |
---|
14 | class SMON(): |
---|
15 | |
---|
16 | @classmethod |
---|
17 | def init(cls): |
---|
18 | cls.smon_home=os.environ['SMON_HOME'] |
---|
19 | cls.log_dir="%s/log"%cls.smon_home |
---|
20 | cls.dbfile="%s/db/smon.db"%cls.smon_home |
---|
21 | |
---|
22 | @classmethod |
---|
23 | def init_singleton(cls): |
---|
24 | pass |
---|
25 | |
---|
26 | @classmethod |
---|
27 | def free_singleton(cls): |
---|
28 | pass |
---|
Note: See
TracBrowser
for help on using the repository browser.