CVS: src/si/extras entitycheck.py,1.26,1.27

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-serv7790/si/extras

Modified Files:
	entitycheck.py 
Log Message:
Try to skip commented-out entities (primitive, the script isn't
really parsing the xml)


Index: entitycheck.py
===================================================================
RCS file: /cvsroot/lsb/src/si/extras/entitycheck.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** entitycheck.py	14 Jan 2003 19:05:52 -0000	1.26
--- entitycheck.py	6 Feb 2003 13:39:55 -0000	1.27
***************
*** 157,160 ****
--- 157,163 ----
      patches = []
      for line in entities.readlines():
+ 	# in lieu of proper xml parsing, skip commented lines
+ 	if line[0:4] == '<!--':
+ 	    continue
          match = package_re.search(line)
          if match:
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.