projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c60fc
)
movefile.py: open /dev/null in binary mode
author
Zac Medico
<zmedico@gentoo.org>
Sat, 10 Dec 2011 19:41:07 +0000
(11:41 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 10 Dec 2011 19:41:07 +0000
(11:41 -0800)
pym/portage/util/movefile.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/movefile.py
b/pym/portage/util/movefile.py
index 89fa69c7621060700e5b141c3ba7838d31ce9033..476f8e72adc4fda541c2195ac0c946dc0c4ceecb 100644
(file)
--- a/
pym/portage/util/movefile.py
+++ b/
pym/portage/util/movefile.py
@@
-50,7
+50,7
@@
else:
if raise_exception:
raise OperationNotSupported("Filesystem containing file '%s' does not support extended attributes" % dest)
else:
- _devnull = open("/dev/null", "w")
+ _devnull = open("/dev/null", "w
b
")
try:
subprocess.call(["getfattr", "--version"], stdout=_devnull)
subprocess.call(["setfattr", "--version"], stdout=_devnull)