Skip to content

Commit

Permalink
Merge pull request #52 from melexis/sorted-export
Browse files Browse the repository at this point in the history
Export of traceable items is sorted on item-id
  • Loading branch information
Letme authored Apr 12, 2018
2 parents d30e4e4 + e8f76fd commit c70e147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mlx/traceable_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def export(self, fname):
'''
with open(fname, 'w') as outfile:
data = []
for itemid in self.items:
for itemid in self.iter_items():
item = self.get_item(itemid)
data.append(item.to_dict())
json.dump(data, outfile, indent=4, sort_keys=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

project_url = 'https://github.com/melexis/sphinx-traceability-extension'
version = '2.5.0'
version = '2.5.1'

requires = ['Sphinx>=0.6', 'docutils']

Expand Down

0 comments on commit c70e147

Please sign in to comment.