diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-11-21 17:42:41 +0100 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-11-28 21:31:22 +0100 |
commit | c78302ce7b33e7353bf0bc9272c86956841cb49a (patch) | |
tree | aee0f86510984415b43180d08cc6cbe7a662649f /giscanner/annotationparser.py | |
parent | bdb479f3663d284e1a785f603f17670a754d0bbf (diff) | |
download | gobject-introspection-c78302ce7b33e7353bf0bc9272c86956841cb49a.tar.gz |
giscanner: implement DocOption() in terms of odict instead of dict
The order of the "options" key/value pairs returned by
DocOption().all() should be identical to the order in
which they where stored. Hence replace the dict usage
with odict.
https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'giscanner/annotationparser.py')
-rw-r--r-- | giscanner/annotationparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index 364fdbfc..c405ef43 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -437,7 +437,7 @@ class DocOption(object): def __init__(self, tag, option): self.tag = tag self._array = [] - self._dict = {} + self._dict = odict() # (annotation option1=value1 option2=value2) etc for p in option.split(' '): if '=' in p: |