Skip to content

Commit

Permalink
Append newline to single-line config loads
Browse files Browse the repository at this point in the history
  • Loading branch information
bewing committed Feb 12, 2018
1 parent 0151104 commit daa80bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_mos/mos.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _load_config(self, filename=None, config=None, replace=False):
config.insert(0, "configure")
config = "\n".join(config) + "\n"
else:
config = "configure\n" + config
config = "configure\n" + config + "\n"
fd.write(config.encode('utf-8'))
fd.flush()

Expand Down

0 comments on commit daa80bf

Please sign in to comment.