Merge pull request #2196 from coolo/fix_json
oqamaint: Take the default modules
This commit is contained in:
commit
0f9d84a049
@ -3,7 +3,7 @@
|
|||||||
# standard library
|
# standard library
|
||||||
import logging
|
import logging
|
||||||
import os.path as opa
|
import os.path as opa
|
||||||
import simplejson as json
|
import json
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# external dependency
|
# external dependency
|
||||||
|
@ -14,16 +14,8 @@ import ReviewBot
|
|||||||
|
|
||||||
from oqamaint.suse import SUSEUpdate
|
from oqamaint.suse import SUSEUpdate
|
||||||
|
|
||||||
try:
|
from xml.etree import cElementTree as ET
|
||||||
from xml.etree import cElementTree as ET
|
import json
|
||||||
except ImportError:
|
|
||||||
from xml.etree import ElementTree as ET
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
|
||||||
import simplejson as json
|
|
||||||
except ImportError:
|
|
||||||
import json
|
|
||||||
|
|
||||||
QA_UNKNOWN = 0
|
QA_UNKNOWN = 0
|
||||||
QA_INPROGRESS = 1
|
QA_INPROGRESS = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user