[Rpm-metadata] createrepo/yumbased.py
James Antill
james at osuosl.org
Mon Jan 19 14:59:39 UTC 2009
createrepo/yumbased.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 241921928017fb69ba27159a460d392d841cb66c
Author: James Antill <james at and.org>
Date: Mon Jan 19 09:52:32 2009 -0500
Use correct cachedir after rename
diff --git a/createrepo/yumbased.py b/createrepo/yumbased.py
index 60568e3..f4ff87c 100644
--- a/createrepo/yumbased.py
+++ b/createrepo/yumbased.py
@@ -77,7 +77,7 @@ class CreateRepoPackage(YumLocalPackage):
# This is atomic cache creation via. rename, so we can have two
# tasks using the same cachedir ... mash does this.
try:
- (csumo, tmpfilename) = tempfile.mkstemp(dir=self.crp_cachedir)
+ (csumo, tmpfilename) = tempfile.mkstemp(dir=self._cachedir)
csumo = os.fdopen(csumo, 'w', -1)
csumo.write(checksum)
csumo.close()
More information about the Rpm-metadata
mailing list