mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
- apply fix from Christoph Thiel to use cElementTree from Python 2.5
This commit is contained in:
parent
76632513cc
commit
2e0927ddfd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user