commit | 4cb0e06b04d5dfa9c257decf9895365f975fb17c | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Tue Sep 06 12:15:06 2011 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Tue Sep 06 12:15:06 2011 -0700 |
tree | 2cb2f84f1f9642c7dfaffff9796fe27fa3912066 | |
parent | eab5a6ee1abff1fbf142cf1558ba940b6d4b270a [diff] |
abssymlink: fix inverted logic from last commit
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index d73ea6d..789d043 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py
@@ -393,7 +393,7 @@ 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)