Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125009 Details for
Bug 185516
www-client/pybugz should use python2.5's elementtree when possible
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pybugz-0.6.11-python2.5-elementtree.patch
pybugz-0.6.11-python2.5-elementtree.patch (text/plain), 683 bytes, created by
Santiago M. Mola (RETIRED)
on 2007-07-16 12:44:54 UTC
(
hide
)
Description:
pybugz-0.6.11-python2.5-elementtree.patch
Filename:
MIME Type:
Creator:
Santiago M. Mola (RETIRED)
Created:
2007-07-16 12:44:54 UTC
Size:
683 bytes
patch
obsolete
>--- bugz.py.orig 2007-07-16 14:06:28.000000000 +0200 >+++ bugz.py 2007-07-16 14:14:23.000000000 +0200 >@@ -10,8 +10,8 @@ > > Requirements > ------------ >- - Python 2.4 >- - ElementTree >+ - Python 2.4 or 2.5 >+ - ElementTree (only with Python 2.4) > > Classes > ------- >@@ -238,7 +238,14 @@ > from urlparse import urlsplit, urljoin > from urllib import urlencode > from urllib2 import build_opener, HTTPCookieProcessor, Request >-from elementtree import ElementTree >+ >+try: >+ # Python 2.5 implementation >+ from xml.etree import ElementTree >+except ImportError: >+ # Stand-alone implementation >+ from elementtree import ElementTree >+ > from cookielib import LWPCookieJar, CookieJar > > #
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 185516
: 125009