Commit 9cf79616 authored by Łukasz Nowak's avatar Łukasz Nowak

squash! slapos/slap: Stabilise connection_dict

Rewrite commit message.
parent d4489573
......@@ -38,7 +38,6 @@ from lxml import etree
import six
from six.moves.urllib import parse
import hashlib
import collections
import netaddr
......@@ -187,10 +186,8 @@ def xml2dict(xml):
def calculate_dict_hash(d):
return hashlib.sha256(
str2bytes(str(
collections.OrderedDict(
sorted(
d.items()
)
sorted(
d.items()
)
))).hexdigest()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment