mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-22 14:32:21 +02:00
Fix the config printer to sort the values.
This commit is contained in:
@@ -353,7 +353,7 @@ class HierarchicalDict(collections.Mapping):
|
||||
|
||||
def __str__(self):
|
||||
"""Turns the Hierarchical dict into a string representation"""
|
||||
return json.dumps(dict([(key, self[key]) for key in self.generator()]), indent = 2)
|
||||
return json.dumps(dict([(key, self[key]) for key in sorted(self.generator())]), indent = 2)
|
||||
|
||||
|
||||
class TranslationLayerRequirement(ConstructableRequirementInterface):
|
||||
|
||||
Reference in New Issue
Block a user