X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bwmon.py;h=246fd6f74c10bce49cd62f5d3e67a3812ba3886e;hb=812846ca9e08e37236984687c30be28c64cd28fa;hp=ba59fe8f993e6ef7fd438089a70ac14ab9f82d12;hpb=e35cdeb5ae4e37a7205150195735ab8c69e6d522;p=nodemanager.git diff --git a/bwmon.py b/bwmon.py index ba59fe8..246fd6f 100644 --- a/bwmon.py +++ b/bwmon.py @@ -23,7 +23,8 @@ import socket import copy import threading -import bwlimitlxc as bwlimit +import plnode.bwlimit as bwlimit + import logger import tools import database @@ -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)