Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nagios/files/check_bandwidth

Issue 29460557: Noissue - Remove ineffective line from check_bandwidth script (Closed)
Patch Set: Created June 9, 2017, 7:23 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nagios/files/check_bandwidth
diff --git a/modules/nagios/files/check_bandwidth b/modules/nagios/files/check_bandwidth
index 3d606d13eb719441aa1a613b632142786a397c33..7a135e48ac6caf6746b70176d985971116d16ab9 100644
--- a/modules/nagios/files/check_bandwidth
+++ b/modules/nagios/files/check_bandwidth
@@ -26,7 +26,6 @@ if __name__ == "__main__":
print "Usage: %s WARN CRIT NIC" % script_name
sys.exit(0)
- (warn, crit) = sys.argv[1:3]
warn = int(sys.argv[1])
crit = int(sys.argv[2])
nic = str(sys.argv[3])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld