Skip to content

Commit

Permalink
Resolve Confilcts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Tranter committed Feb 16, 2017
2 parents 168b583 + 58efd04 commit 8f57eda
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 133 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ language: python
python:
- "3.4"
- "3.5"
- "3.6"

before_install:
- export DISPLAY=:99.0
Expand Down
2 changes: 1 addition & 1 deletion OpenPNM/Base/__ModelsDict__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def reorder(self, new_order):
order.remove(item)
# Add models back to list in new order
inv_dict = {v: k for k, v in new_order.items()}
for item in inv_dict:
for item in sorted(inv_dict):
order.insert(item, inv_dict[item])
# Now rebuild models OrderedDict in new order
for item in order:
Expand Down
Loading

0 comments on commit 8f57eda

Please sign in to comment.