PR#755: remove simplejson imports

Merges #755
https://pagure.io/koji/pull-request/755

Fixes: #727
https://pagure.io/koji/issue/727
drop simplejson imports
This commit is contained in:
Mike McLean 2017-12-20 12:42:35 -05:00
commit 15bc1155bb
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')