gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] navidoc rst2any.py


From: Asko Soukka
Subject: [Gzz-commits] navidoc rst2any.py
Date: Tue, 18 Mar 2003 09:43:52 -0500

CVSROOT:        /cvsroot/navidoc
Module name:    navidoc
Changes by:     Asko Soukka <address@hidden>    03/03/18 09:43:52

Modified files:
        .              : rst2any.py 

Log message:
        tuning debug

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/navidoc/navidoc/rst2any.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: navidoc/rst2any.py
diff -u navidoc/rst2any.py:1.2 navidoc/rst2any.py:1.3
--- navidoc/rst2any.py:1.2      Tue Mar 18 09:40:59 2003
+++ navidoc/rst2any.py  Tue Mar 18 09:43:52 2003
@@ -69,9 +69,11 @@
     if filepath.endswith(".rst"): filepath = filepath[0:len(filepath)-4]
     if html:
         args = "--config "+config.docutils+" "+filepath+'.rst 
'+filepath+'.gen.html'
+        dbg("Compiling: "+filepath)
         docutils.core.publish_cmdline(writer_name='html', argv=args.split())
     if latex:
         args = "--config "+config.docutils+" "+filepath+'.rst 
'+filepath+'.gen.latex'
+        dbg("Compiling: "+filepath)
         docutils.core.publish_cmdline(writer_name='latex', argv=args.split())
 
 # catching loop parameters from the command line
@@ -91,6 +93,7 @@
     while 1:
         dbg_name = sys.argv[sys.argv.index("-d") + 1]
         config.dbg.enable(dbg_name)
+        print "Enabling debug for:", dbg_name
         sys.argv.remove("-d")
         sys.argv.remove(dbg_name)
         




reply via email to

[Prev in Thread] Current Thread [Next in Thread]