Cleanup requirements.txt so we don't have to maintain separate copies for py2 and py3.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
9aa61e596e
commit
2943ac6812
15 changed files with 44 additions and 45 deletions
|
|
@ -97,5 +97,5 @@ def write_out_msg(stream, lines, msg_index, msg, status="done"):
|
|||
def json_hash(obj):
|
||||
dump = json.dumps(obj, sort_keys=True, separators=(',', ':'))
|
||||
h = hashlib.sha256()
|
||||
h.update(dump)
|
||||
h.update(dump.encode('utf8'))
|
||||
return h.hexdigest()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue