[Pkg-mailman-hackers] Pkg-mailman commit - rev 98 - branches/pkg-split/core/debian

Bernd S. Brentrup bsb@haydn.debian.org
Thu, 29 Apr 2004 13:26:59 -0600


Author: bsb
Date: 2004-04-29 13:26:57 -0600 (Thu, 29 Apr 2004)
New Revision: 98

Modified:
   branches/pkg-split/core/debian/postinst
Log:
No progress here, add some logging.

Modified: branches/pkg-split/core/debian/postinst
===================================================================
--- branches/pkg-split/core/debian/postinst	2004-04-29 19:24:19 UTC (rev 97)
+++ branches/pkg-split/core/debian/postinst	2004-04-29 19:26:57 UTC (rev 98)
@@ -60,16 +60,21 @@
 def create_mm_cfg():
     try:
         db_email_host = db.get('mailman/email_host')
+        log('DEBCONF email_host=%(db_email_host)r' % locals(), lvl=2)
         db_url_host   = db.get('mailman/url_host')
+        log('DEBCONF url_host=%(db_url_host)r' % locals(), lvl=2)
     except DebconfError, exc:
         log.exception()
-        
 
+def update_cron():
+    gate_news = db.getBoolean('mailman/gate_news')
 
+
+
 def setup():
     compile_modules(MM_HOME)
     create_mm_cfg()
-    gate_news = db.getBoolean('mailman/gate_news')
+    update_cron()
 
 
 if __name__ == '__main__':