Skip to content

Commit 0d1fef5

Browse files
authored
Merge pull request CiscoDevNet#91 from gregbo/patch-1
Fix typos and port to Python 3.
2 parents 26fa0da + 7968d17 commit 0d1fef5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tdr-test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This is an example Python script that runs TDR test for every interface in an up status.
44

5-
The output is thrown to screen, plus writte to a file in bootflash.
5+
The output is thrown to screen, plus written to a file in bootflash.
66

77
# requirements
88
-- IOS-XE running >/= 16.3.1 also enabled for GuestShell
99
-- 3850 Switches (TDR typically only works on Cat switches).
1010

1111
# running
12-
-- Run onbox.
12+
-- Run onbox.

tdr-test/tdr-test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def grab_intf(i):
8989

9090
for i in intfs:
9191
title = "Interfaces: " + i
92-
print title
92+
print(title)
9393
target.write(title)
94-
print intfs[i]
94+
print(intfs[i])
9595
target.write(intfs[i])
96-
print "\n\n"
96+
print("\n\n")
9797
target.write("\n\n")
9898

99-
target.close()
99+
target.close()

0 commit comments

Comments
 (0)