Skip to content

Commit

Permalink
variable name issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Jan 17, 2019
1 parent 5d4b0ae commit 5a9d563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm/ios/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def close(self):
# Return file prompt quiet to the original state
if self.auto_file_prompt and self.auto_prompt_changed is True:
self.device.send_config_set(["no file prompt quiet"])
self.prompting_disabled = False
self.auto_prompt_changed = False
self._netmiko_close()

def _send_command(self, command):
Expand Down Expand Up @@ -432,7 +432,7 @@ def wrapper(self, *args, **kwargs):
if self.auto_file_prompt and self.auto_prompt_changed is False:
# disable file operation prompts
self.device.send_config_set(["file prompt quiet"])
self.prompting_disabled = True
self.auto_prompt_changed = True
# call wrapped function
retval = f(self, *args, **kwargs)
return retval
Expand Down

0 comments on commit 5a9d563

Please sign in to comment.