diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-09-06 12:15:06 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-09-06 12:15:06 -0700 |
commit | 4cb0e06b04d5dfa9c257decf9895365f975fb17c (patch) | |
tree | 2cb2f84f1f9642c7dfaffff9796fe27fa3912066 | |
parent | eab5a6ee1abff1fbf142cf1558ba940b6d4b270a (diff) | |
download | portage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.tar.gz portage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.tar.bz2 portage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.zip |
abssymlink: fix inverted logic from last commitv2.2.0_alpha54
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |