diff options
author | Julien Cristau <julien.cristau@logilab.fr> | 2014-07-27 14:56:00 +0200 |
---|---|---|
committer | Julien Cristau <julien.cristau@logilab.fr> | 2014-07-27 14:56:00 +0200 |
commit | f0924b600f7d6641cf79befad4b5f3f603737fd0 (patch) | |
tree | adc3e6336e5eac724dc05f2c17b78df7d167389f | |
parent | 17e760c92c956d89e4d6eef54de49eb2d07ed54c (diff) | |
download | logilab-common-f0924b600f7d6641cf79befad4b5f3f603737fd0.tar.gz |
graph: ensure we get predictable ordering
-rw-r--r-- | graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ class DotBackend: assert charset.lower() in ('utf-8', 'iso-8859-1', 'latin1'), \ 'unsupported charset %s' % charset self.emit('charset="%s"' % charset) - for param in additionnal_param.iteritems(): + for param in sorted(additionnal_param.iteritems()): self.emit('='.join(param)) def get_source(self): |