Skip to content

Commit

Permalink
Fixed incorrect RuntimeError handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dschreij committed Jun 29, 2016
1 parent ea2e9d9 commit f8a4d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion QOpenScienceFramework/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.1.1"
__version__ = "1.1.2"
__author__ = "Daniel Schreij"

import os
Expand Down
4 changes: 2 additions & 2 deletions QOpenScienceFramework/widgets/projecttree.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,9 @@ def populate_tree(self, reply, parent=None):
item, kind = self.add_item(parent, entry)
except RuntimeError as e:
# If a runtime error occured the tree was probably reset or
# another event deleted treeWidgetItems. Not much that can be
# another event deleted treeWidgetItems. Not much that can be
# done here, so do some cleanup and quit
warnings.warn(e)
warnings.warn(str(e))
self.__cleanup_reply(reply)
return

Expand Down

0 comments on commit f8a4d14

Please sign in to comment.