Commit 1f792136 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Graph.list_properties(): do not sort properties

parent 64520e73
Pipeline #660 passed with stage
in 168 minutes and 42 seconds
...@@ -2562,7 +2562,7 @@ class Graph(object): ...@@ -2562,7 +2562,7 @@ class Graph(object):
w = max([len(x[0]) for x in list(self.__properties.keys())]) + 4 w = max([len(x[0]) for x in list(self.__properties.keys())]) + 4
w = w if w > 14 else 14 w = w if w > 14 else 14
for k, v in sorted(self.graph_properties.items(), key=lambda k: k[0]): for k, v in self.graph_properties.items():
pref="%%-%ds (graph) (type: %%s, val: " % w % (k, v.value_type()) pref="%%-%ds (graph) (type: %%s, val: " % w % (k, v.value_type())
val = str(v[self]) val = str(v[self])
if len(val) > 1000: if len(val) > 1000:
......
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