summaryrefslogtreecommitdiffstats
path: root/pym/portage/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/data.py')
-rw-r--r--pym/portage/data.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index 26bff27e6..5fc811e43 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -13,15 +13,13 @@ ostype=os.uname()[0]
userland = None
if ostype == "DragonFly" or ostype.endswith("BSD"):
userland = "BSD"
-elif ostype == "Darwin":
- userland = "Darwin"
else:
userland = "GNU"
lchown = getattr(os, "lchown", None)
if not lchown:
- if userland == "Darwin":
+ if ostype == "Darwin":
def lchown(*pos_args, **key_args):
pass
else: