From 93b35b06f953e868de4b79e420c0c967ca78feaf Mon Sep 17 00:00:00 2001 From: Fabio Rueda Date: Wed, 27 Feb 2013 18:22:18 +0100 Subject: working on ubuntu precise12.04 diff --git a/contrib/check_nmap.py b/contrib/check_nmap.py index b7a8738..481a62b 100644 --- a/contrib/check_nmap.py +++ b/contrib/check_nmap.py @@ -207,8 +207,7 @@ class CheckNmap: # _if_ two processes in deed get the same tmp-file # the only result is a normal error message to nagios # - r=random.random() - self.tmp_file=tempfile.mktemp('.%s')%r.randint(0,100000) + self.tmp_file=tempfile.mktemp('.%s') % random.randint(0,100000) if self.debug: print 'Tmpfile is: %s'%self.tmp_file # -- cgit v0.10-9-g596f