From 5040934e4f308976505bb4cb5887dacbe791b8f6 Mon Sep 17 00:00:00 2001 From: mpenning Date: Tue, 15 Apr 2014 20:04:44 -0500 Subject: [PATCH] Fix banner DBGFLAG problem per Github Issue #5 --HG-- branch : ciscoconfparse --- ciscoconfparse/ciscoconfparse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ciscoconfparse/ciscoconfparse.py b/ciscoconfparse/ciscoconfparse.py index 5ab4d438..b535ca1f 100755 --- a/ciscoconfparse/ciscoconfparse.py +++ b/ciscoconfparse/ciscoconfparse.py @@ -40,7 +40,7 @@ """ ## Docstring props: http://stackoverflow.com/a/1523456/667301 -__version_tuple__ = (0,9,30) +__version_tuple__ = (0,9,31) __version__ = '.'.join(map(str, __version_tuple__)) __email__ = "mike /at\ pennington [dot] net" __author__ = "David Michael Pennington <{0}>".format(__email__) @@ -1544,7 +1544,7 @@ def _mark_banner(self, banner_str, os): ## Debugging only... - if (DBGFLAG is True): + if (self.DBGFLAG is True): print("[DEBUG] _mark_banner: found endpoint - line %s, text %s" % (kk - 1, self.ioscfg[kk - 1])) # # Set oldest_ancestor on the parent