CVS: src/si/extras entitycheck.py,1.20,1.21

Mats Wichmann <[email protected]>
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>
Update of /cvsroot/lsb/src/si/extras
In directory sc8-pr-cvs1:/tmp/cvs-serv26235

Modified Files:
	entitycheck.py 
Log Message:
Fixed a bug that recorded packages without checksums as bad checksums.
The rest is cosmetic...


Index: entitycheck.py
===================================================================
RCS file: /cvsroot/lsb/src/si/extras/entitycheck.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** entitycheck.py	10 Jan 2003 17:10:47 -0000	1.20
--- entitycheck.py	10 Jan 2003 17:25:31 -0000	1.21
***************
*** 99,104 ****
  
              if dry_run:			# just print a message and bail
!                 print "fetch %s from (%s, %s, %s) to %s" % (self.file,
!                         loc.path, loc.alternate, fallback, destination)
                  self.message = "skipped"
                  break
--- 99,106 ----
  
              if dry_run:			# just print a message and bail
!                 self.message = "fetch %s from (%s, ...) to %s" % (self.file,
!                                loc.path, destination)
! 		self.running_output()
! 		print
                  self.message = "skipped"
                  break
***************
*** 124,128 ****
          print
  	if self.message == "completed": return 1
! 	else: return 0
  
  def parse_entities():
--- 126,130 ----
          print
  	if self.message == "completed": return 1
! 	return 0
  
  def parse_entities():
***************
*** 229,233 ****
                 badsums.append(entity)
          else:
!             badsums.append(entity)
      return (badsums, nosums)
  
--- 231,235 ----
                 badsums.append(entity)
          else:
!             nosums.append(entity)
      return (badsums, nosums)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.