Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58240 Details for
Bug 91761
Various patches to clean up GLIStorageDevice, GLIUtility, and SimpleXMLParser.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SimpleXMLParser.py.patch
SimpleXMLParser.py.patch (text/plain), 1.03 KB, created by
Christopher Hotchkiss
on 2005-05-06 20:41:48 UTC
(
hide
)
Description:
SimpleXMLParser.py.patch
Filename:
MIME Type:
Creator:
Christopher Hotchkiss
Created:
2005-05-06 20:41:48 UTC
Size:
1.03 KB
patch
obsolete
>Index: SimpleXMLParser.py >=================================================================== >RCS file: /var/cvsroot/gentoo/src/installer/src/SimpleXMLParser.py,v >retrieving revision 1.3 >diff -a -u -r1.3 SimpleXMLParser.py >--- SimpleXMLParser.py 14 Apr 2005 15:44:03 -0000 1.3 >+++ SimpleXMLParser.py 7 May 2005 03:36:33 -0000 >@@ -7,6 +7,7 @@ > """ > > import xml.sax, string >+from GLIUtility import * > > class SimpleXMLParser(xml.sax.ContentHandler): > >@@ -15,6 +16,7 @@ > # @param self Parameter description > # @param file=None Parameter description > def __init__(self, file=None): >+ xml.sax.handler.ContentHandler.__init__(self) > self._xml_elements = [] > self._xml_attrs = [] > self._xml_current_data = "" >@@ -108,7 +110,7 @@ > Parse serialized configuration file. > """ > if path == None and self._path == None: >- raise "NoFileGiven","You must specify a file to parse!" >+ raise GLIException("SimpleXMLParserError",'fatal', 'parse', "You must specify a file to parse!") > elif path == None: > xml.sax.parse(self._path, self) > else:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 91761
:
58238
|
58239
|
58240