1 |
commit: 4cb0e06b04d5dfa9c257decf9895365f975fb17c |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 6 19:15:06 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 6 19:15:06 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4cb0e06b |
7 |
|
8 |
abssymlink: fix inverted logic from last commit |
9 |
|
10 |
--- |
11 |
pym/portage/__init__.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py |
15 |
index d73ea6d..789d043 100644 |
16 |
--- a/pym/portage/__init__.py |
17 |
+++ b/pym/portage/__init__.py |
18 |
@@ -393,7 +393,7 @@ getcwd() |
19 |
|
20 |
def abssymlink(symlink, target=None): |
21 |
"This reads symlinks, resolving the relative symlinks, and returning the absolute." |
22 |
- if target is None: |
23 |
+ if target is not None: |
24 |
mylink = target |
25 |
else: |
26 |
mylink = os.readlink(symlink) |