index: Remove obfuscated and outdated comments

This commit is contained in:
Ozan Çağlayan
2011-06-07 11:33:25 +00:00
parent 229f3fe307
commit 552f4bc80e
+2 -3
View File
@@ -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():