forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-pykwalify: fix missing comma
... |/usr/lib/python3.8/site-packages/pykwalify/rule.py:343: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma? ... Signed-off-by: Hongxu Jia <[email protected]> Acked-by: Trevor Gamblin <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
1 parent
71b077e
commit a88c7c9
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From f96b76efb810d7d559254d0ec58de628e09f525a Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= <[email protected]> | ||
Date: Mon, 13 Jan 2020 08:42:05 -0800 | ||
Subject: [PATCH] rule.py: fix missing comma | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
A line in the defined_keywords list is missing a comma. Add it. | ||
|
||
Signed-off-by: Martí Bolívar <[email protected]> | ||
|
||
Upstream-Status: Backport [https://github.com/Grokzen/pykwalify.git] | ||
Signed-off-by: Hongxu Jia <[email protected]> | ||
--- | ||
pykwalify/rule.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pykwalify/rule.py b/pykwalify/rule.py | ||
index 7ac2c9e..f044b69 100644 | ||
--- a/pykwalify/rule.py | ||
+++ b/pykwalify/rule.py | ||
@@ -340,7 +340,7 @@ class Rule(object): | ||
('matching', 'matching'), | ||
('matching_rule', 'matching_rule'), | ||
('name', 'name'), | ||
- ('nullable', 'nullable') | ||
+ ('nullable', 'nullable'), | ||
('parent', 'parent'), | ||
('pattern', 'pattern'), | ||
('pattern_regexp', 'pattern_regexp'), | ||
-- | ||
2.18.2 | ||
|
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