From ebf549a8b15266472e94a7cbdfac60d5fc782411 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Tue, 26 Jun 2007 18:01:18 +0000 Subject: [PATCH] Update comment to reflect change. --- bwmon.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bwmon.py b/bwmon.py index 9d0fbaf..85bc2a9 100644 --- a/bwmon.py +++ b/bwmon.py @@ -15,7 +15,7 @@ # Faiyaz Ahmed # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: bwmon.py,v 1.21 2007/06/16 14:30:17 faiyaza Exp $ +# $Id: bwmon.py,v 1.22 2007/06/26 18:00:46 faiyaza Exp $ # import os @@ -458,11 +458,11 @@ def sync(nmdbcopy): (version, slices) = pickle.load(f) f.close() # Check version of data file - if version != "$Id: bwmon.py,v 1.21 2007/06/16 14:30:17 faiyaza Exp $": + if version != "$Id: bwmon.py,v 1.22 2007/06/26 18:00:46 faiyaza Exp $": logger.log("bwmon: Not using old version '%s' data file %s" % (version, datafile)) raise Exception except Exception: - version = "$Id: bwmon.py,v 1.21 2007/06/16 14:30:17 faiyaza Exp $" + version = "$Id: bwmon.py,v 1.22 2007/06/26 18:00:46 faiyaza Exp $" slices = {} # Get/set special slice IDs @@ -500,7 +500,7 @@ def sync(nmdbcopy): newslicesxids = Set(live.keys()) - Set(livehtbs.keys()) logger.log("bwmon: Found %s new slices" % newslicesxids.__len__()) - # Incase we rebooted and need to keep track of already running htbs + # Incase we upgraded nm and need to keep track of already running htbs norecxids = Set(livehtbs.keys()) - Set(slices.keys()) logger.log("bwmon: Found %s slices that have htbs but not in dat." % norecxids.__len__()) newslicesxids.update(norecxids) -- 2.47.0