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 --- contrib/check_nmap.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/check_nmap.py b/contrib/check_nmap.py index b7a87385..481a62bf 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 v1.2.3