From 409e810e363f7c83b49ed71e116d2bc89124bb4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 26 Oct 2005 23:49:31 +0000 Subject: [PATCH] fix. --- tests/archivetests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/archivetests.py b/tests/archivetests.py index 232503c2..4c7ea06b 100644 --- a/tests/archivetests.py +++ b/tests/archivetests.py @@ -97,7 +97,7 @@ class ArchiveFileTestCase(testcase.TestCase): bctx = BuildContext("tests/pccts/pspec.xml") url = uri.URI(bctx.spec.source.archiveUri) targetDir = bctx.pkg_work_dir() - filePath = join(config.archives_dir(), url.filename()) + filePath = join(ctx.config.archives_dir(), url.filename()) # check cached if util.sha1_file(filePath) != bctx.spec.source.archiveSHA1: