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 |
|
# $Source$ |
27 |
+ |
__version__ = "$Revision$" |
28 |
+ |
__date__ = "$Date$" |
29 |
+ |
__author__ = "$Author$" |
30 |
|
|
31 |
|
#---IMPORTS--- |
32 |
|
|
33 |
< |
#---CONSTANTS--- |
33 |
> |
#---MODULE CONSTANTS--- |
34 |
|
|
35 |
+ |
#---EXCEPTIONS--- |
36 |
+ |
|
37 |
+ |
#---CLASSES--- |
38 |
+ |
|
39 |
|
#<CLASS> |
40 |
|
class TemplateClass: |
41 |
|
"""Class one line description... |
42 |
|
<detail> |
43 |
|
""" |
44 |
|
|
45 |
+ |
#---CLASS CONSTANTS--- |
46 |
+ |
|
47 |
|
#---CONSTRUCTORS--- |
48 |
|
|
49 |
< |
__init__(self): |
49 |
> |
def __init__(self): |
50 |
|
pass |
51 |
|
|
52 |
|
#---PUBLIC METHODS--- |
55 |
|
|
56 |
|
#---ACCESSOR/MUTATOR METHODS--- |
57 |
|
|
58 |
< |
#---ATTRIBUTES--- |
58 |
> |
#---PRIVATE ATTRIBUTES--- |
59 |
|
|
60 |
|
#</CLASS> |
61 |
|
|
62 |
|
#---MODULE METHODS--- |
63 |
|
|
56 |
– |
#---MODULE ATTRIBUTES--- |
57 |
– |
|
64 |
|
#---MODULE INSTANTIATION/TESTING--- |
65 |
|
|
66 |
< |
def main: |
66 |
> |
def main(): |
67 |
|
"""Main one line description... |
68 |
|
<detail> |
69 |
|
""" |