From 4cb0e06b04d5dfa9c257decf9895365f975fb17c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 6 Sep 2011 12:15:06 -0700 Subject: [PATCH] abssymlink: fix inverted logic from last commit --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index d73ea6d5e..789d04307 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -393,7 +393,7 @@ getcwd() def abssymlink(symlink, target=None): "This reads symlinks, resolving the relative symlinks, and returning the absolute." - if target is None: + if target is not None: mylink = target else: mylink = os.readlink(symlink) -- 2.26.2