summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-06 12:15:06 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-06 12:15:06 -0700
commit4cb0e06b04d5dfa9c257decf9895365f975fb17c (patch)
tree2cb2f84f1f9642c7dfaffff9796fe27fa3912066 /pym/portage/__init__.py
parenteab5a6ee1abff1fbf142cf1558ba940b6d4b270a (diff)
downloadportage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.tar.gz
portage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.tar.bz2
portage-4cb0e06b04d5dfa9c257decf9895365f975fb17c.zip
abssymlink: fix inverted logic from last commitv2.2.0_alpha54
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r--pym/portage/__init__.py2
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)