projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a5753
)
Add back support for silent definition of the dummy lchown()
author
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Dec 2007 12:14:27 +0000
(12:14 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Dec 2007 12:14:27 +0000
(12:14 -0000)
function when ostype == Darwin.
svn path=/main/trunk/; revision=9101
pym/portage/data.py
patch
|
blob
|
history
diff --git
a/pym/portage/data.py
b/pym/portage/data.py
index a3dbfb8853283c5b9e6cc9402fb957ff342f97a6..5fc811e43d356d7f4122de21be3212d4bb5cebeb 100644
(file)
--- a/
pym/portage/data.py
+++ b/
pym/portage/data.py
@@
-19,6
+19,10
@@
else:
lchown = getattr(os, "lchown", None)
if not lchown:
+ if ostype == "Darwin":
+ def lchown(*pos_args, **key_args):
+ pass
+ else:
try:
import missingos
lchown = missingos.lchown