mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 05:08:42 +02:00
- apply fix from Christoph Thiel to use cElementTree from Python 2.5
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user