summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/equery/equery5
1 files changed, 2 insertions, 3 deletions
diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery
index 24d3aa3..b94234e 100755
--- a/trunk/src/equery/equery
+++ b/trunk/src/equery/equery
@@ -610,8 +610,7 @@ class CmdCheckIntegrity(Command):
elif type == "sym":
# FIXME: nastry strippery; portage should have this fixed!
t = files[file][2]
- i = t.find("(")
- target = t[0:i].strip()
+ target = os.path.normpath(t.strip())
if not os.path.islink(file):
raise CheckException(file + " exists, but is not a symlink")
tgt = os.readlink(file)
@@ -944,7 +943,7 @@ if __name__ == "__main__":
print red("!!!"), " "+p
else:
print red("!!!"), "Internal portage error, terminating"
- if len(e[0])):
+ if len(e[0]):
print red("!!!"), e[0]
sys.exit(2)
else: