summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2009-10-03 10:34:00 +0530
committerArun Raghavan <ford_prefect@gentoo.org>2009-10-03 10:34:00 +0530
commit4ccfa29cc41e00fef3b2e44393d1c138795d9287 (patch)
tree4c9757fbceddcaf2f29efb458844fde2e800e54c
parentMake log outputs more parseable - should make wrangling easier (diff)
downloadgard-4ccfa29cc41e00fef3b2e44393d1c138795d9287.tar.gz
gard-4ccfa29cc41e00fef3b2e44393d1c138795d9287.tar.bz2
gard-4ccfa29cc41e00fef3b2e44393d1c138795d9287.zip
Fix the URL we send to PortageCheck
We need to pass the entire URL (server/module/path), not just 'server'
-rwxr-xr-xgard-v2.py2
1 files changed, 1 insertions, 1 deletions
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')