From: Sven Velt Date: Thu, 23 Sep 2010 10:38:58 +0000 (+0200) Subject: Fix: (Now real) random filenames in checkresultdir X-Git-Url: https://git.tokkee.org/?p=nagixsc.git;a=commitdiff_plain;h=d0782e47659a7f7bb91c28dc5c52f010b2bd004c Fix: (Now real) random filenames in checkresultdir Signed-off-by: Sven Velt --- diff --git a/nagixsc/__init__.py b/nagixsc/__init__.py index 03884e3..8f886ac 100644 --- a/nagixsc/__init__.py +++ b/nagixsc/__init__.py @@ -217,12 +217,13 @@ def dict2out_passive(checks, xmltimestamp, opt_pipe, opt_verb=0): return count_services -def dict2out_checkresult(checks, xmltimestamp, opt_checkresultdir, opt_verb): +def dict2out_checkresult(checks, xmltimestamp, opt_checkresultdir, opt_verb=0): count_services = 0 count_failed = 0 list_failed = [] chars = string.letters + string.digits ctimestamp = datetime.datetime.now().ctime() + random.seed() for check in checks: count_services += 1