summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Structure.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-19 20:30:03 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-19 20:30:03 +0000
commit4aaa9edef9d011e8ab3e3ff69c9bcef708db9375 (patch)
tree8176d85d107fa0a745984292d91719435387dcc2 /src/lib/Server/Structure.py
parent663fd7648200f6806c0af46cf879014c1a3e3e9e (diff)
downloadbcfg2-4aaa9edef9d011e8ab3e3ff69c9bcef708db9375.tar.gz
bcfg2-4aaa9edef9d011e8ab3e3ff69c9bcef708db9375.tar.bz2
bcfg2-4aaa9edef9d011e8ab3e3ff69c9bcef708db9375.zip
add revision field
2004/10/19 14:15:54-05:00 anl.gov!desai add __name__ field (Logical change 1.103) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@470 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Structure.py')
-rw-r--r--src/lib/Server/Structure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Server/Structure.py b/src/lib/Server/Structure.py
index c948d326d..2462de8dd 100644
--- a/src/lib/Server/Structure.py
+++ b/src/lib/Server/Structure.py
@@ -1,10 +1,12 @@
#!/usr/bin/env python
-# $Id: $
+
+__revision__ = '$Revision$'
class Structure(object):
'''The Structure class is used to define patterns of data in host configurations
Structure subtyped classes provide functions that group configurations into dependent
and independent clauses'''
+ __name__ = 'example'
def __init__(self, core, datastore):
self.data = "%s/%s"%(datastore,self.__name__)