Skip to content

Commit

Permalink
Merge pull request #18 from uw-it-aca/develop
Browse files Browse the repository at this point in the history
rm redundant code
  • Loading branch information
devights committed Dec 18, 2017
2 parents 1c3b001 + 98100d2 commit 5ccde68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions uw_iasystem/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ def _json_to_evaluation(data):
if data is None:
return None

collection_items = data.get('collection').get('items')
if collection_items is None:
return None
evaluations = []
collection_items = data.get('collection').get('items')
for item in collection_items:
item_meta = item.get('meta')
type = _get_item_type(item_meta)
Expand Down

0 comments on commit 5ccde68

Please sign in to comment.