From: Zac Medico Date: Sun, 22 Aug 2010 23:54:31 +0000 (-0700) Subject: Remove support for the missingos module since apparently nobody has needed X-Git-Tag: v2.2_rc68~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=790ebea138d71775ca831e26327d3af7e7767b60;p=portage.git Remove support for the missingos module since apparently nobody has needed it for a long time. --- 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)