createrepo/yumbased.py

[email protected] (James Antill)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo/yumbased.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 241921928017fb69ba27159a460d392d841cb66c
Author: James Antill <[email protected]>
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()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.