From feff23e59b00803a274dbd3cd490379d20c51d1a Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 9 May 2006 03:22:25 +0000 Subject: [PATCH] - only print a single warning per run if NM query times out --- pl_mom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pl_mom.py b/pl_mom.py index d332717..d889e88 100644 --- a/pl_mom.py +++ b/pl_mom.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: pl_mom.py,v 1.1 2006/04/28 19:27:43 mlhuang Exp $ +# $Id: pl_mom.py,v 1.2 2006/05/08 17:37:28 mlhuang Exp $ # import os @@ -208,5 +208,6 @@ class NM: values[i] = value except Exception, err: print "Warning: Exception received while querying Node Manager:", err + self.nm = None return values -- 2.43.0