summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/data.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index a9ac62ddc..fd464378d 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -25,15 +25,11 @@ if not lchown:
def lchown(*pos_args, **key_args):
pass
else:
- try:
- import missingos
- lchown = missingos.lchown
- except ImportError:
- def lchown(*pos_args, **key_args):
- writemsg(colorize("BAD", "!!!") + _(
- " It seems that os.lchown does not"
- " exist. Please rebuild python.\n"), noiselevel=-1)
- lchown()
+ def lchown(*pargs, **kwargs):
+ writemsg(colorize("BAD", "!!!") + _(
+ " It seems that os.lchown does not"
+ " exist. Please rebuild python.\n"), noiselevel=-1)
+ lchown()
lchown = portage._unicode_func_wrapper(lchown)