X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bwmon.py;h=246fd6f74c10bce49cd62f5d3e67a3812ba3886e;hb=474c12c7e815776b0eac7dfb858af378bd7e59b2;hp=affa0929087bbcb91248e21c1e388c7fe3ad594a;hpb=e5fe8f0e38fa96e588d8674bc1352a39e3c4afe6;p=nodemanager.git diff --git a/bwmon.py b/bwmon.py index affa092..246fd6f 100644 --- a/bwmon.py +++ b/bwmon.py @@ -23,9 +23,10 @@ import socket import copy import threading +import plnode.bwlimit as bwlimit + import logger import tools -import bwlimit import database from config import Config @@ -496,6 +497,9 @@ def sync(nmdbcopy): if default_MaxRate == -1: default_MaxRate = 1000000 + # xxx $Id$ + # with svn we used to have a trick to detect upgrades of this file + # this has gone with the move to git, without any noticeable effect on operations though try: f = open(DB_FILE, "r+") logger.verbose("bwmon: Loading %s" % DB_FILE)