From 4ccfa29cc41e00fef3b2e44393d1c138795d9287 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Sat, 3 Oct 2009 10:34:00 +0530 Subject: Fix the URL we send to PortageCheck We need to pass the entire URL (server/module/path), not just 'server' --- gard-v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gard-v2.py b/gard-v2.py index 9989830..d846660 100755 --- a/gard-v2.py +++ b/gard-v2.py @@ -101,7 +101,7 @@ for line in file: info4=grsync+" wants to be a gentoo-portage mirror and is being checked as per Bug #"+bugnum logging.info(info4) - prsync = 'rsync://%s/' % addy + prsync = 'rsync://%s/' % grsync if check.PortageCheck(prsync).check(rmaxlag) is True: logging.info(addy + ' is in sync') -- cgit v1.2.3-65-gdbad