aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-29 11:49:38 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-29 11:49:38 +0000
commit06ad5480e0680d5c0c9c23659266d95838953e80 (patch)
tree37890ab60bfab3a16cd4d63f0567b28e4ad6c540 /pym/portage/data.py
parentMove XARGS initialization from portage.data to isolated-functions.sh. (diff)
downloadportage-06ad5480e0680d5c0c9c23659266d95838953e80.tar.gz
portage-06ad5480e0680d5c0c9c23659266d95838953e80.tar.bz2
portage-06ad5480e0680d5c0c9c23659266d95838953e80.zip
Remove redundant lchown() compatibility code since the
getattr(os, "lchown", None) call already handles it. svn path=/main/trunk/; revision=9099
Diffstat (limited to 'pym/portage/data.py')
-rw-r--r--pym/portage/data.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index d50a6752a..8b89f2e4f 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -20,16 +20,10 @@ if ostype == "Linux" or \
userland="GNU"
elif ostype == "Darwin":
userland="Darwin"
- def lchown(*pos_args, **key_args):
- pass
elif ostype.endswith("BSD") or ostype =="DragonFly":
userland="BSD"
if not lchown:
- if "lchown" in dir(os):
- # Included in python-2.3
- lchown = os.lchown
- else:
try:
import missingos
lchown = missingos.lchown