diff options
| author | Kai Kang <kai.kang@windriver.com> | 2020-07-09 15:54:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-07-12 19:04:17 -0700 |
| commit | c64a73b3edaaccde08be9d4f543c225f7e7bf686 (patch) | |
| tree | c7d56560989b3a8e54fe6caf4065a32397ce8424 /meta-python/recipes-extended/python-pykickstart/files | |
| parent | 3cf73983b7c742b4cffcda488e1515a186c484b1 (diff) | |
| download | meta-openembedded-c64a73b3edaaccde08be9d4f543c225f7e7bf686.tar.gz | |
python3-pykickstart: 3.22 -> 3.26
Update python3-pykickstart from 3.22 to 3.26.
* Update context of 0001-support-authentication-for-kickstart.patch
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python-pykickstart/files')
| -rw-r--r-- | meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch b/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch index e7533f4769..0e64ce420e 100644 --- a/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch +++ b/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch | |||
| @@ -32,10 +32,10 @@ index bf08ac5..aada7aa 100644 | |||
| 32 | And some warning classes: | 32 | And some warning classes: |
| 33 | 33 | ||
| 34 | KickstartWarning - A generic warning class. | 34 | KickstartWarning - A generic warning class. |
| 35 | @@ -131,3 +134,17 @@ class KickstartDeprecationWarning(KickstartParseWarning, DeprecationWarning): | 35 | @@ -125,3 +128,17 @@ class KickstartDeprecationWarning(KickstartParseWarning, DeprecationWarning): |
| 36 | """A class for warnings occurring during parsing related to using deprecated | ||
| 36 | commands and options. | 37 | commands and options. |
| 37 | """ | 38 | """ |
| 38 | pass | ||
| 39 | + | 39 | + |
| 40 | +class KickstartAuthError(KickstartError): | 40 | +class KickstartAuthError(KickstartError): |
| 41 | + """An exception for errors relating to authentication failed while | 41 | + """An exception for errors relating to authentication failed while |
| @@ -43,7 +43,7 @@ index bf08ac5..aada7aa 100644 | |||
| 43 | + """ | 43 | + """ |
| 44 | + def __init__(self, msg): | 44 | + def __init__(self, msg): |
| 45 | + """Create a new KickstartAuthError exception instance with the | 45 | + """Create a new KickstartAuthError exception instance with the |
| 46 | + descriptive message val. val should be the return value of | 46 | + descriptive message val. val should be the return value of |
| 47 | + formatErrorMsg. | 47 | + formatErrorMsg. |
| 48 | + """ | 48 | + """ |
| 49 | + KickstartError.__init__(self, msg) | 49 | + KickstartError.__init__(self, msg) |
| @@ -125,7 +125,7 @@ diff --git a/pykickstart/parser.py b/pykickstart/parser.py | |||
| 125 | index d8880eb..22d14cb 100644 | 125 | index d8880eb..22d14cb 100644 |
| 126 | --- a/pykickstart/parser.py | 126 | --- a/pykickstart/parser.py |
| 127 | +++ b/pykickstart/parser.py | 127 | +++ b/pykickstart/parser.py |
| 128 | @@ -787,7 +787,7 @@ class KickstartParser(object): | 128 | @@ -801,7 +801,7 @@ class KickstartParser(object): |
| 129 | i = PutBackIterator(s.splitlines(True) + [""]) | 129 | i = PutBackIterator(s.splitlines(True) + [""]) |
| 130 | self._stateMachine(i) | 130 | self._stateMachine(i) |
| 131 | 131 | ||
| @@ -134,7 +134,7 @@ index d8880eb..22d14cb 100644 | |||
| 134 | """Process a kickstart file, given by the filename f.""" | 134 | """Process a kickstart file, given by the filename f.""" |
| 135 | if reset: | 135 | if reset: |
| 136 | self._reset() | 136 | self._reset() |
| 137 | @@ -808,7 +808,7 @@ class KickstartParser(object): | 137 | @@ -822,7 +822,7 @@ class KickstartParser(object): |
| 138 | self.currentdir[self._includeDepth] = cd | 138 | self.currentdir[self._includeDepth] = cd |
| 139 | 139 | ||
| 140 | try: | 140 | try: |
