File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1496,7 +1496,7 @@ class PaloAltoNetworksConfigParser(BaseSpaceConfigParser):
14961496 "set deviceconfig system login-banner" ,
14971497 ]
14981498 # Not used, but must be defined
1499- banner_end = None
1499+ banner_end = ""
15001500
15011501 def _build_banner (self , config_line : str ) -> t .Optional [str ]:
15021502 """Handle banner config lines.
@@ -1512,7 +1512,7 @@ def _build_banner(self, config_line: str) -> t.Optional[str]:
15121512 """
15131513 self ._update_config_lines (config_line )
15141514 self ._current_parents += (config_line ,)
1515- banner_config = []
1515+ banner_config : t . List [ str ] = []
15161516 for line in self .generator_config :
15171517 # Note, this is a little fragile and will cause false positives if any line in
15181518 # the middle of a multi-line banner starts with "set ".
You can’t perform that action at this time.
0 commit comments