sort imports in koji

This commit is contained in:
Yu Ming Zhu 2019-12-09 21:43:52 +00:00
parent 90cc76573f
commit 4d29a87e9b
11 changed files with 105 additions and 82 deletions

View file

@ -19,14 +19,17 @@
# It was modified to be used as standalone library for the Koji project.
from __future__ import absolute_import
import hashlib
import json
import rpm
import os
import itertools
import json
import os
import rpm
import six
from six.moves import zip
class BytesJSONEncoder(json.JSONEncoder):
def default(self, o):
if six.PY3 and isinstance(o, bytes):