1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02:00

- apply fix from Christoph Thiel to use cElementTree from Python 2.5

This commit is contained in:
Dr. Peter Poeml 2007-03-12 23:17:34 +00:00
parent 76632513cc
commit 2e0927ddfd

View File

@ -12,10 +12,14 @@ import sys
import urllib2
from urllib import pathname2url, quote_plus
from urlparse import urlunsplit
import cElementTree as ET
from cStringIO import StringIO
import shutil
import conf
try:
from xml.etree import cElementTree as ET
except ImportError:
import cElementTree as ET
BUFSIZE = 1024*1024