projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af99fbf
)
Open the temp file in text mode for py3k compatibility.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Feb 2009 04:14:22 +0000
(
04:14
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Feb 2009 04:14:22 +0000
(
04:14
-0000)
svn path=/main/trunk/; revision=12727
pym/portage/tests/env/config/test_PackageUseFile.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/env/config/test_PackageUseFile.py
b/pym/portage/tests/env/config/test_PackageUseFile.py
index f6eb38846c941af281fe291eeac7f427485ad146..aa18364a0a2a1c3e35e1878db132c880431b18de 100644
(file)
--- a/
pym/portage/tests/env/config/test_PackageUseFile.py
+++ b/
pym/portage/tests/env/config/test_PackageUseFile.py
@@
-30,10
+30,9
@@
class PackageUseFileTestCase(TestCase):
def BuildFile(self):
fd, self.fname = mkstemp()
- f = os.fdopen(fd, 'w
b
')
+ f = os.fdopen(fd, 'w')
f.write("%s %s" % (self.cpv, ' '.join(self.useflags)))
f.close()
def NukeFile(self):
- import os
os.unlink(self.fname)