* [gentoo-commits] portage r12978 - main/branches/2.1.6/pym/portage/tests/env/config
@ 2009-03-11 6:28 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-11 6:28 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-03-11 06:28:36 +0000 (Wed, 11 Mar 2009)
New Revision: 12978
Modified:
main/branches/2.1.6/pym/portage/tests/env/config/test_PortageModulesFile.py
Log:
Open then temp file in text mode for py3k compatibility. (trunk r12728)
Modified: main/branches/2.1.6/pym/portage/tests/env/config/test_PortageModulesFile.py
===================================================================
--- main/branches/2.1.6/pym/portage/tests/env/config/test_PortageModulesFile.py 2009-03-11 06:28:19 UTC (rev 12977)
+++ main/branches/2.1.6/pym/portage/tests/env/config/test_PortageModulesFile.py 2009-03-11 06:28:36 UTC (rev 12978)
@@ -29,7 +29,7 @@
def BuildFile(self):
fd, self.fname = mkstemp()
- f = os.fdopen(fd, 'wb')
+ f = os.fdopen(fd, 'w')
for k, v in self.items.iteritems():
f.write('%s=%s\n' % (k,v))
f.close()
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 6:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 6:28 [gentoo-commits] portage r12978 - main/branches/2.1.6/pym/portage/tests/env/config Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox