projects
/
tools
/
createrepo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8053af8
)
Use correct cachedir after rename
author
James Antill
<james@and.org>
Mon, 19 Jan 2009 14:52:32 +0000
(09:52 -0500)
committer
James Antill
<james@and.org>
Mon, 19 Jan 2009 14:52:32 +0000
(09:52 -0500)
createrepo/yumbased.py
patch
|
blob
|
history
diff --git
a/createrepo/yumbased.py
b/createrepo/yumbased.py
index 60568e3ee6f6d05e2f4118da95a860dc7e5146ad..f4ff87cf2d051fa2a19c38f71a68501d08241835 100644
(file)
--- 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()