mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
dut_profile: Remove unused variables
Signed-off-by: matthew <stidmatt@gmail.com>
This commit is contained in:
@@ -97,7 +97,6 @@ class DUTProfile(LFCliBase):
|
|||||||
"dut": self.name,
|
"dut": self.name,
|
||||||
"text": "[BLANK]"
|
"text": "[BLANK]"
|
||||||
}, self.debug)
|
}, self.debug)
|
||||||
notebytes = None
|
|
||||||
for line in self.notes:
|
for line in self.notes:
|
||||||
notebytes = base64.b64encode(line.encode('ascii'))
|
notebytes = base64.b64encode(line.encode('ascii'))
|
||||||
if self.debug:
|
if self.debug:
|
||||||
@@ -110,7 +109,6 @@ class DUTProfile(LFCliBase):
|
|||||||
"text-64": notebytes.decode('ascii')
|
"text-64": notebytes.decode('ascii')
|
||||||
}, self.debug)
|
}, self.debug)
|
||||||
if (self.append is not None) and (len(self.append) > 0):
|
if (self.append is not None) and (len(self.append) > 0):
|
||||||
notebytes = None
|
|
||||||
for line in self.append:
|
for line in self.append:
|
||||||
notebytes = base64.b64encode(line.encode('ascii'))
|
notebytes = base64.b64encode(line.encode('ascii'))
|
||||||
if self.debug:
|
if self.debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user