-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fstring syntax not available in 3.7
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ user | |
group | ||
env | ||
relation | ||
addon | ||
exceptions | ||
``` | ||
|
||
|
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 |
---|---|---|
|
@@ -217,7 +217,7 @@ def get_addons(limit: str = "") -> List[AddonInformation]: | |
if limit in ("installed", "upgradable", "available"): | ||
addons = [addon for addon in addons if limit in addon.flags] | ||
elif limit != "": | ||
raise InvalidParameterError(f"Parameter {limit=} is not valid.") | ||
raise InvalidParameterError(f"Parameter limit='{limit}' is not valid.") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gforcada
Member
|
||
return addons | ||
|
||
|
||
|
@ericof Gah, I tried to check whether that was supported in 3.7, but I could not find the answer.