Skip to content

Commit

Permalink
Providing default value to get() to prevent a runtime error (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
allan.silva authored and bhearsum committed Mar 14, 2018
1 parent 46a34c5 commit 9087a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auslib/blobs/apprelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ def _getUpdateLineXML(self, updateQuery, update_type):
# Rules table to avoid confusion.
"type": update_type,
}
for group in self.get("updateLine"):
for group in self.get("updateLine", []):
condition_results = []
for condition, values in group["for"].items():
matches = False
Expand Down

0 comments on commit 9087a3c

Please sign in to comment.