[Python-checkins] python/dist/src/Tools/webchecker wcgui.py, 1.9, 1.10 webchecker.py, 1.31, 1.32

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Jul 18 08:02:08 CEST 2004


Update of /cvsroot/python/python/dist/src/Tools/webchecker
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29862/webchecker

Modified Files:
	wcgui.py webchecker.py 
Log Message:
Whitespace normalization, via reindent.py.


Index: wcgui.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/webchecker/wcgui.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** wcgui.py	11 Sep 2002 20:36:02 -0000	1.9
--- wcgui.py	18 Jul 2004 06:02:05 -0000	1.10
***************
*** 11,25 ****
  User interface:
  
! Enter a root to check in the text entry box.  To enter more than one root, 
  enter them one at a time and press <Return> for each one.
  
! Command buttons Start, Stop and "Check one" govern the checking process in 
! the obvious way.  Start and "Check one" also enter the root from the text 
  entry box if one is present.  There's also a check box (enabled by default)
  to decide whether actually to follow external links (since this can slow
  the checking down considerably).  Finally there's a Quit button.
  
! A series of checkbuttons determines whether the corresponding output panel 
! is shown.  List panels are also automatically shown or hidden when their 
  status changes between empty to non-empty.  There are six panels:
  
--- 11,25 ----
  User interface:
  
! Enter a root to check in the text entry box.  To enter more than one root,
  enter them one at a time and press <Return> for each one.
  
! Command buttons Start, Stop and "Check one" govern the checking process in
! the obvious way.  Start and "Check one" also enter the root from the text
  entry box if one is present.  There's also a check box (enabled by default)
  to decide whether actually to follow external links (since this can slow
  the checking down considerably).  Finally there's a Quit button.
  
! A series of checkbuttons determines whether the corresponding output panel
! is shown.  List panels are also automatically shown or hidden when their
  status changes between empty to non-empty.  There are six panels:
  

Index: webchecker.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/webchecker/webchecker.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** webchecker.py	21 Mar 2004 19:07:23 -0000	1.31
--- webchecker.py	18 Jul 2004 06:02:05 -0000	1.32
***************
*** 298,302 ****
          if args:
              format = format%args
!         print format 
  
      def __getstate__(self):
--- 298,302 ----
          if args:
              format = format%args
!         print format
  
      def __getstate__(self):
***************
*** 381,385 ****
              # of the "source" variable comes from the list of
              # origins, and is a URL, not a pair.
!             for url, rawlink, msg in triples:           
                  if rawlink != self.format_url(url): s = " (%s)" % rawlink
                  else: s = ""
--- 381,385 ----
              # of the "source" variable comes from the list of
              # origins, and is a URL, not a pair.
!             for url, rawlink, msg in triples:
                  if rawlink != self.format_url(url): s = " (%s)" % rawlink
                  else: s = ""
***************
*** 463,467 ****
              self.note(3, "  New todo link %s", self.format_url(url))
  
!     def format_url(self, url):  
          link, fragment = url
          if fragment: return link + "#" + fragment
--- 463,467 ----
              self.note(3, "  New todo link %s", self.format_url(url))
  
!     def format_url(self, url):
          link, fragment = url
          if fragment: return link + "#" + fragment
***************
*** 717,721 ****
              rawlink = urlparse.urlunparse(t)
              link = urlparse.urljoin(base, rawlink)
!             infos.append((link, rawlink, fragment))     
  
          return infos
--- 717,721 ----
              rawlink = urlparse.urlunparse(t)
              link = urlparse.urljoin(base, rawlink)
!             infos.append((link, rawlink, fragment))
  
          return infos



More information about the Python-checkins mailing list