[Zodb-checkins] CVS: StandaloneZConfig/ZConfig - matcher.py:1.15

Fred L. Drake, Jr. fred at zope.com
Wed Apr 7 16:19:13 EDT 2004


Update of /cvs-repository/StandaloneZConfig/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv24985/ZConfig

Modified Files:
	matcher.py 
Log Message:
getSectionAttributes(): new method for introspecting section values


=== StandaloneZConfig/ZConfig/matcher.py 1.14 => 1.15 ===
--- StandaloneZConfig/ZConfig/matcher.py:1.14	Tue Mar 16 15:47:24 2004
+++ StandaloneZConfig/ZConfig/matcher.py	Wed Apr  7 16:19:10 2004
@@ -265,6 +265,7 @@
         self.__dict__.update(values)
         self._name = name
         self._matcher = matcher
+        self._attributes = tuple(values.keys())
 
     def __repr__(self):
         if self._name:
@@ -296,3 +297,6 @@
 
     def getSectionMatcher(self):
         return self._matcher
+
+    def getSectionAttributes(self):
+        return self._attributes




More information about the Zodb-checkins mailing list