Update of /cvsroot/audacity/audacity-src/scripts/mw2html_audacity
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16015

Modified Files:
        mw2html.py 
Log Message:
forgot some comments...

Index: mw2html.py
===================================================================
RCS file: /cvsroot/audacity/audacity-src/scripts/mw2html_audacity/mw2html.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mw2html.py  1 Jun 2009 01:13:57 -0000       1.3
+++ mw2html.py  1 Jun 2009 01:34:11 -0000       1.4
@@ -30,7 +30,7 @@
 import errno
 import hashlib
 import httplib
-import pdb
+#import pdb
 from time import strftime
 
 try:
@@ -199,9 +199,6 @@
     # Remove print footer
     doc = re.sub(r'<div class="printfooter">[\s\S]+?</div>',r'',doc)
  
-    # Remove Audacity syntax
-    #doc = re.sub('<style 
type="text/css">/\*<!\[CDATA\[\*/[\s\S]+?</style>','',doc)
-
     # Remove noexport
     doc = remove_tag(doc,'<div class="noexport"','</div>', '<div')
 
@@ -729,7 +726,6 @@
       print url, 'with multiple query fields'
     return False
 
-  #if any(x in url for x in ('MediaWiki:', 'Special:', 'Image:', 'Talk:', 
'User:', 'Help:')):
   if any(x in url for x in ('Special:', 'Image:', 'Talk:', 'User:', 'Help:')):
     if config.debug:
       print url, 'is a forbidden wiki page'


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to