Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57552 Details for
Bug 90823
Various one line changes as recommended by pychecker.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SimpleXMLParser.py
SimpleXMLParser.py.patch (text/plain), 1.02 KB, created by
Christopher Hotchkiss
on 2005-04-28 23:13:11 UTC
(
hide
)
Description:
SimpleXMLParser.py
Filename:
MIME Type:
Creator:
Christopher Hotchkiss
Created:
2005-04-28 23:13:11 UTC
Size:
1.02 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 29 Apr 2005 05:06:24 -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._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("NoFileGiven",'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 90823
:
57550
|
57551
| 57552