[Spambayes-checkins] website/scripts/ht2html LinkFixer.py, 1.3, 1.4 PDOGenerator.py, 1.1.1.1, 1.2 Sidebar.py, 1.3, 1.4 SpamBayesGenerator.py, 1.7, 1.8

Tim Peters tim_one at users.sourceforge.net
Tue Dec 16 00:06:36 EST 2003


Update of /cvsroot/spambayes/website/scripts/ht2html
In directory sc8-pr-cvs1:/tmp/cvs-serv12349/website/scripts/ht2html

Modified Files:
	LinkFixer.py PDOGenerator.py Sidebar.py SpamBayesGenerator.py 
Log Message:
Whitespace normalization.


Index: LinkFixer.py
===================================================================
RCS file: /cvsroot/spambayes/website/scripts/ht2html/LinkFixer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LinkFixer.py	11 Nov 2003 22:17:51 -0000	1.3
--- LinkFixer.py	16 Dec 2003 05:06:34 -0000	1.4
***************
*** 40,44 ****
          elif url[-1] == '/':
              url = url + 'index.html'
!         
          # normalize the path, kind of the way os.path.normpath() does.
          # urlparse ought to have something like this built in...
--- 40,44 ----
          elif url[-1] == '/':
              url = url + 'index.html'
! 
          # normalize the path, kind of the way os.path.normpath() does.
          # urlparse ought to have something like this built in...

Index: PDOGenerator.py
===================================================================
RCS file: /cvsroot/spambayes/website/scripts/ht2html/PDOGenerator.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** PDOGenerator.py	19 Sep 2002 08:40:55 -0000	1.1.1.1
--- PDOGenerator.py	16 Dec 2003 05:06:34 -0000	1.2
***************
*** 108,112 ****
      <img alt="" border="0"
           src="%(rootdir)s/pics/%(banner)s"></a></center>''' % \
!     self.__d 
  
      def get_corner_bgcolor(self):
--- 108,112 ----
      <img alt="" border="0"
           src="%(rootdir)s/pics/%(banner)s"></a></center>''' % \
!     self.__d
  
      def get_corner_bgcolor(self):
***************
*** 115,130 ****
          # value.  Some images may be `bizarre'.  See .../pics/backgrounds.py
          return [
!              '#3399ff',  '#6699cc',  '#3399ff',  '#0066cc',  '#3399ff', 
!              '#0066cc',  '#0066cc',  '#3399ff',  '#3399ff',  '#3399ff', 
!              '#3399ff',  '#6699cc',  '#3399ff',  '#3399ff',  '#ffffff', 
!              '#6699cc',  '#0066cc',  '#3399ff',  '#0066cc',  '#3399ff', 
!              '#6699cc',  '#0066cc',  '#6699cc',  '#3399ff',  '#3399ff', 
!              '#6699cc',  '#3399ff',  '#3399ff',  '#6699cc',  '#6699cc', 
!              '#0066cc',  '#6699cc',  '#0066cc',  '#6699cc',  '#0066cc', 
!              '#0066cc',  '#6699cc',  '#3399ff',  '#0066cc',  '#bbd6f1', 
!              '#0066cc',  '#6699cc',  '#3399ff',  '#3399ff',  '#0066cc', 
!              '#0066cc',  '#0066cc',  '#6699cc',  '#6699cc',  '#3399ff', 
!              '#3399ff',  '#6699cc',  '#0066cc',  '#0066cc',  '#6699cc', 
!              '#0066cc',  '#6699cc',  '#3399ff',  '#6699cc',  '#3399ff', 
               '#d6ebff',  '#6699cc',  '#3399ff',  '#0066cc',
               ][self.__whichbanner]
--- 115,130 ----
          # value.  Some images may be `bizarre'.  See .../pics/backgrounds.py
          return [
!              '#3399ff',  '#6699cc',  '#3399ff',  '#0066cc',  '#3399ff',
!              '#0066cc',  '#0066cc',  '#3399ff',  '#3399ff',  '#3399ff',
!              '#3399ff',  '#6699cc',  '#3399ff',  '#3399ff',  '#ffffff',
!              '#6699cc',  '#0066cc',  '#3399ff',  '#0066cc',  '#3399ff',
!              '#6699cc',  '#0066cc',  '#6699cc',  '#3399ff',  '#3399ff',
!              '#6699cc',  '#3399ff',  '#3399ff',  '#6699cc',  '#6699cc',
!              '#0066cc',  '#6699cc',  '#0066cc',  '#6699cc',  '#0066cc',
!              '#0066cc',  '#6699cc',  '#3399ff',  '#0066cc',  '#bbd6f1',
!              '#0066cc',  '#6699cc',  '#3399ff',  '#3399ff',  '#0066cc',
!              '#0066cc',  '#0066cc',  '#6699cc',  '#6699cc',  '#3399ff',
!              '#3399ff',  '#6699cc',  '#0066cc',  '#0066cc',  '#6699cc',
!              '#0066cc',  '#6699cc',  '#3399ff',  '#6699cc',  '#3399ff',
               '#d6ebff',  '#6699cc',  '#3399ff',  '#0066cc',
               ][self.__whichbanner]

Index: Sidebar.py
===================================================================
RCS file: /cvsroot/spambayes/website/scripts/ht2html/Sidebar.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Sidebar.py	5 Jun 2003 15:13:54 -0000	1.3
--- Sidebar.py	16 Dec 2003 05:06:34 -0000	1.4
***************
*** 70,74 ****
                  else:
                      done_one = 1
!                 print '<tr><td %s>'% ( self.getSidebarHeaderAttrs()) 
                  print item
                  print '</font></b></td></tr>'
--- 70,74 ----
                  else:
                      done_one = 1
!                 print '<tr><td %s>'% ( self.getSidebarHeaderAttrs())
                  print item
                  print '</font></b></td></tr>'

Index: SpamBayesGenerator.py
===================================================================
RCS file: /cvsroot/spambayes/website/scripts/ht2html/SpamBayesGenerator.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** SpamBayesGenerator.py	26 Aug 2003 07:37:35 -0000	1.7
--- SpamBayesGenerator.py	16 Dec 2003 05:06:34 -0000	1.8
***************
*** 96,100 ****
      <a href="http://www.student.virginia.edu/~improv/games/findthespam.html">
      <img alt="" border="0" src="%(rootdir)s/images/logo.png"></a></center>''' % \
!     self.__d 
  
      def get_corner_bgcolor(self):
--- 96,100 ----
      <a href="http://www.student.virginia.edu/~improv/games/findthespam.html">
      <img alt="" border="0" src="%(rootdir)s/images/logo.png"></a></center>''' % \
!     self.__d
  
      def get_corner_bgcolor(self):





More information about the Spambayes-checkins mailing list