mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 02:26:16 +01:00
- apply fix from Christoph Thiel to use cElementTree from Python 2.5
This commit is contained in:
parent
03b1db05fb
commit
76632513cc
@ -9,10 +9,13 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import cElementTree as ET
|
|
||||||
from tempfile import NamedTemporaryFile
|
from tempfile import NamedTemporaryFile
|
||||||
from osc.fetch import *
|
from osc.fetch import *
|
||||||
import osc.conf
|
import osc.conf
|
||||||
|
try:
|
||||||
|
from xml.etree import cElementTree as ET
|
||||||
|
except ImportError:
|
||||||
|
import cElementTree as ET
|
||||||
|
|
||||||
|
|
||||||
change_personality = {
|
change_personality = {
|
||||||
|
Loading…
Reference in New Issue
Block a user