diff options
-rw-r--r-- | pym/portage/data.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py index a3dbfb885..5fc811e43 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -19,6 +19,10 @@ else: lchown = getattr(os, "lchown", None) if not lchown: + if ostype == "Darwin": + def lchown(*pos_args, **key_args): + pass + else: try: import missingos lchown = missingos.lchown |