From 790ebea138d71775ca831e26327d3af7e7767b60 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Aug 2010 16:54:31 -0700 Subject: [PATCH] Remove support for the missingos module since apparently nobody has needed it for a long time. --- pym/portage/data.py | 14 +++++--------- 1 file 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) -- 2.26.2