Commiting an invalid DOAP file
- From: Frederic Peters <fpeters gnome org>
- To: gnome-infrastructure gnome org
- Subject: Commiting an invalid DOAP file
- Date: Wed, 22 Apr 2009 21:52:39 +0200
Hello,
[not urgent]
Commiting an invalid DOAP file now gives:
Traceback (most recent call last):
File "/home/admin/gitadmin-bin/extract-doap-shortdesc", line 14, in ?
nodes = semi_rdf.read_rdf(sys.stdin)
File "/home/admin/gitadmin-bin/semi_rdf.py", line 147, in read_rdf
parser.parse(f)
File "/usr/lib64/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.4/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib64/python2.4/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseExceptionTo ssh://fpeters git gnome org/git/library-web
093e49f..c144654 master -> master
: <stdin>:16:95: not well-formed (invalid token)
Perhaps the exception could be caught and an explicit message
displayed instead ? Or would it be desirable to forbid pushes
of invalid DOAP files ?
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]