Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
pybugz
> pybugz-0.6.11-elementtree.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pybugz-0.6.11-elementtree.patch of Package pybugz
Index: pybugz-0.6.11/bugz.py =================================================================== --- pybugz-0.6.11.orig/bugz.py 2007-01-28 01:53:32.000000000 +0100 +++ pybugz-0.6.11/bugz.py 2008-02-11 13:51:15.698098000 +0100 @@ -242,7 +242,10 @@ from cStringIO import StringIO from urlparse import urlsplit, urljoin from urllib import urlencode from urllib2 import build_opener, HTTPCookieProcessor, Request -from elementtree import ElementTree +try: + from elementtree import ElementTree +except ImportError: + from xml.etree import ElementTree from cookielib import LWPCookieJar, CookieJar #