temp
This commit is contained in:
parent
9a39ccea8f
commit
2f821b9e9b
@ -756,7 +756,7 @@ def dag_hash(self, length=None):
|
||||
"""
|
||||
yaml_text = yaml.dump(
|
||||
self.to_node_dict(), default_flow_style=True, width=sys.maxint)
|
||||
print yaml_text
|
||||
# print yaml_text
|
||||
sha = hashlib.sha1(yaml_text)
|
||||
return base64.b32encode(sha.digest()).lower()[:length]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user