projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab5a6e
)
abssymlink: fix inverted logic from last commit
v2.2.0_alpha54
author
Zac Medico
<zmedico@gentoo.org>
Tue, 6 Sep 2011 19:15:06 +0000
(12:15 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 6 Sep 2011 19:15:06 +0000
(12:15 -0700)
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index d73ea6d5e944c1659a659d61d4b42f05184e8ee9..789d04307ae48ba693b5bfc40e119be963348f91 100644
(file)
--- 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)