[Zodb-checkins] CVS: ZODB3/zdaemon - zdctl.py:1.13

Guido van Rossum guido@python.org
Tue, 14 Jan 2003 17:36:55 -0500


Update of /cvs-repository/ZODB3/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv12796

Modified Files:
	zdctl.py 
Log Message:
Show schema and config file location too.


=== ZODB3/zdaemon/zdctl.py 1.12 => 1.13 ===
--- ZODB3/zdaemon/zdctl.py:1.12	Tue Jan 14 17:28:59 2003
+++ ZODB3/zdaemon/zdctl.py	Tue Jan 14 17:36:53 2003
@@ -76,8 +76,8 @@
     program = None
 
     def load_schema(self):
-        schemafile = os.path.join(self._dir, "schema.xml")
-        self.schema = ZConfig.loadSchema(schemafile)
+        self.schemafile = os.path.join(self._dir, "schema.xml")
+        self.schema = ZConfig.loadSchema(self.schemafile)
 
     def load_configuration(self):
         Options.load_configuration(self) # Sets self.rootconf
@@ -287,6 +287,8 @@
             method()
 
     def show_options(self):
+        print "schemafile:  ", repr(self.options.schemafile)
+        print "configuration:", repr(self.options.configuration)
         print "zdaemon:     ", repr(self.options.zdaemon)
         print "program:     ", repr(self.options.program)
         print "backofflimit:", repr(self.options.backofflimit)