Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame^] | 1 | From f96b76efb810d7d559254d0ec58de628e09f525a Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= <marti.f.bolivar@gmail.com> |
| 3 | Date: Mon, 13 Jan 2020 08:42:05 -0800 |
| 4 | Subject: [PATCH] rule.py: fix missing comma |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | A line in the defined_keywords list is missing a comma. Add it. |
| 10 | |
| 11 | Signed-off-by: Martí Bolívar <marti.f.bolivar@gmail.com> |
| 12 | |
| 13 | Upstream-Status: Backport [https://github.com/Grokzen/pykwalify.git] |
| 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 15 | --- |
| 16 | pykwalify/rule.py | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/pykwalify/rule.py b/pykwalify/rule.py |
| 20 | index 7ac2c9e..f044b69 100644 |
| 21 | --- a/pykwalify/rule.py |
| 22 | +++ b/pykwalify/rule.py |
| 23 | @@ -340,7 +340,7 @@ class Rule(object): |
| 24 | ('matching', 'matching'), |
| 25 | ('matching_rule', 'matching_rule'), |
| 26 | ('name', 'name'), |
| 27 | - ('nullable', 'nullable') |
| 28 | + ('nullable', 'nullable'), |
| 29 | ('parent', 'parent'), |
| 30 | ('pattern', 'pattern'), |
| 31 | ('pattern_regexp', 'pattern_regexp'), |
| 32 | -- |
| 33 | 2.18.2 |
| 34 | |