remove simplejson imports

Fixes: https://pagure.io/koji/issue/727
This commit is contained in:
Tomas Kopecek 2017-12-18 15:17:14 +01:00 committed by Mike McLean
parent 414edb6b82
commit b852381a3a
3 changed files with 2 additions and 10 deletions

View file

@ -30,10 +30,7 @@ import koji.plugin
import koji.util
import koji.tasks
import glob
try:
import json
except ImportError: # pragma: no cover
import simplejson as json
import json
import logging
import logging.handlers
from koji.daemon import incremental_upload, log_output, TaskManager, SCM

View file

@ -674,7 +674,6 @@ You will need to install the following packages to actually run the tests.
* ``python-coverage``
* ``python-krbV``
* ``python-mock``
* ``python-simplejson``
* ``python-psycopg2``
* ``python-requests``
* ``python-qpid-proton``

View file

@ -41,6 +41,7 @@ from koji.util import sha1_constructor
from koji.util import dslice
from koji.util import multi_fnmatch
from koji.util import safer_move
import json
import os
import re
import rpm
@ -59,11 +60,6 @@ import zipfile
import koji.xmlrpcplus
from koji.context import context
try:
import json
except ImportError: # pragma: no cover
import simplejson as json
logger = logging.getLogger('koji.hub')