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

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-serv19392

Modified Files:
	entitycheck.py 
Log Message:
Missed one bit of the last change: the type of return from
from the method is now pass/fail, need to check the message
stored in the instance for further details if fail


Index: entitycheck.py
===================================================================
RCS file: /cvsroot/lsb/src/si/extras/entitycheck.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** entitycheck.py	10 Jan 2003 16:53:10 -0000	1.19
--- entitycheck.py	10 Jan 2003 17:10:47 -0000	1.20
***************
*** 316,322 ****
              retrieved = retrieved + 1
  	else:
!             if rv == 'retrieval failed':
                  fails.append(pkg)
!             if rv == 'not found':
                  # should not happen, but we track so we can catch where
                  # an entity is defined but not listed in package_locations
--- 316,322 ----
              retrieved = retrieved + 1
  	else:
!             if pkg.message == 'retrieval failed':
                  fails.append(pkg)
!             if pkg.message == 'not found':
                  # should not happen, but we track so we can catch where
                  # an entity is defined but not listed in package_locations
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.