1 |
– |
#!/usr/bin/python |
1 |
|
# |
2 |
|
# i-scream central monitoring system |
3 |
|
# http://www.i-scream.org |
16 |
|
# You should have received a copy of the GNU General Public License |
17 |
|
# along with this program; if not, write to the Free Software |
18 |
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
+ |
# |
20 |
|
|
21 |
|
"""Module one line description... |
22 |
|
<detail>... |
23 |
|
|
24 |
|
""" |
25 |
|
|
26 |
< |
__version__ = "$Revision$" |
26 |
> |
# $Id$ |
27 |
|
# $Source$ |
28 |
+ |
__version__ = "$Revision$" |
29 |
|
|
30 |
|
#---IMPORTS--- |
31 |
|
|
32 |
< |
#---CONSTANTS--- |
32 |
> |
#---MODULE CONSTANTS--- |
33 |
|
|
34 |
+ |
#---EXCEPTIONS--- |
35 |
+ |
|
36 |
+ |
#---CLASSES--- |
37 |
+ |
|
38 |
|
#<CLASS> |
39 |
|
class TemplateClass: |
40 |
|
"""Class one line description... |
41 |
|
<detail> |
42 |
|
""" |
43 |
|
|
44 |
+ |
#---CLASS CONSTANTS--- |
45 |
+ |
|
46 |
|
#---CONSTRUCTORS--- |
47 |
|
|
48 |
< |
__init__(self): |
48 |
> |
def __init__(self): |
49 |
|
pass |
50 |
|
|
51 |
|
#---PUBLIC METHODS--- |
54 |
|
|
55 |
|
#---ACCESSOR/MUTATOR METHODS--- |
56 |
|
|
57 |
< |
#---ATTRIBUTES--- |
57 |
> |
#---PRIVATE ATTRIBUTES--- |
58 |
|
|
59 |
|
#</CLASS> |
60 |
|
|
61 |
|
#---MODULE METHODS--- |
62 |
|
|
56 |
– |
#---MODULE ATTRIBUTES--- |
57 |
– |
|
63 |
|
#---MODULE INSTANTIATION/TESTING--- |
64 |
|
|
65 |
< |
def main: |
65 |
> |
def main(): |
66 |
|
"""Main one line description... |
67 |
|
<detail> |
68 |
|
""" |