This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
item_download: Fix types of attribute defaults
With bw 3.7, the type of an attribute's default matters a great deal. You can't just use random stuff that evaluates to a boolean "False" anymore (and IMHO that shouldn't have been done in the first place). Also unify/clarify the ".get()" calls. There is no need for them, since we validate attributes in "validate_attributes()". Nor is there a need to introduce new types (i.e., "None") via ".get()".
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
"provides": [ | ||
"items/download.py" | ||
], | ||
"version": 3 | ||
"version": 4 | ||
} |