diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-29 11:49:38 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-29 11:49:38 +0000 |
commit | 06ad5480e0680d5c0c9c23659266d95838953e80 (patch) | |
tree | 37890ab60bfab3a16cd4d63f0567b28e4ad6c540 | |
parent | 35264c0463ca6aa66a73f9c577956e95738d5a4a (diff) | |
download | portage-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
-rw-r--r-- | pym/portage/data.py | 6 |
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 |