1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +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 20:00:47 +00:00
parent 03b1db05fb
commit 76632513cc

View File

@ -9,10 +9,13 @@
import os
import sys
import cElementTree as ET
from tempfile import NamedTemporaryFile
from osc.fetch import *
import osc.conf
try:
from xml.etree import cElementTree as ET
except ImportError:
import cElementTree as ET
change_personality = {