Remove support for the missingos module since apparently nobody has needed
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 23:54:31 +0000 (16:54 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 23:54:31 +0000 (16:54 -0700)
it for a long time.

pym/portage/data.py

index a9ac62ddc233cd3c8cfb9e96282ebf0ba967c837..fd464378dc55b1ae546f500294c13903bacde7ff 100644 (file)
@@ -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)