From 552f4bc80ed69404fa0d76024f3abb69ce79e7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Tue, 7 Jun 2011 11:33:25 +0000 Subject: [PATCH] index: Remove obfuscated and outdated comments --- pisi/index.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pisi/index.py b/pisi/index.py index e74feb4b..e008b9ba 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -181,10 +181,9 @@ def add_package(params): md.package.packageHash = util.sha1_file(path) if ctx.config.options and ctx.config.options.absolute_urls: md.package.packageURI = os.path.realpath(path) - else: # create relative path by default - # TODO: in the future well do all of this with purl/pfile/&helpers - # really? heheh -- future exa + else: md.package.packageURI = util.removepathprefix(repo_uri, path) + # check package semantics errs = md.errors() if md.errors():