Skip to content

Commit 9362b6e

Browse files
committed
fix: code cleanup
1 parent 965ad74 commit 9362b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nagios_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def test_cache(self):
173173
buffer = StringIO()
174174
sys.stdout = buffer
175175

176+
reporter_test = NagiosReporter('test_cache', filename, threshold, self.nagios_user)
176177
try:
177-
reporter_test = NagiosReporter('test_cache', filename, threshold, self.nagios_user)
178178
reporter_test.report_and_exit()
179179
except SystemExit as err:
180180
line = buffer.getvalue().rstrip()

0 commit comments

Comments
 (0)