fix to make sd_hash more deterministic
This commit is contained in:
parent
545451a829
commit
edfc2c6124
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class StreamDescriptorWriter(object):
|
|||
pass
|
||||
|
||||
def create_descriptor(self, sd_info):
|
||||
return self._write_stream_descriptor(json.dumps(sd_info))
|
||||
return self._write_stream_descriptor(json.dumps(sd_info, sort_keys=True))
|
||||
|
||||
def _write_stream_descriptor(self, raw_data):
|
||||
"""This method must be overridden by subclasses to write raw data to
|
||||
|
|
Loading…
Reference in a new issue