Mercurial > treepkg
changeset 396:343af65e808b treepkg-status
Bugfix: source was not defined
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 09 Jul 2010 14:19:17 +0000 |
parents | 0ba451c4a856 |
children | a7bf4464bd60 |
files | treepkg/info/status.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/info/status.py Fri Jul 09 13:15:15 2010 +0000 +++ b/treepkg/info/status.py Fri Jul 09 14:19:17 2010 +0000 @@ -71,10 +71,9 @@ def add_package(self, file, type, platform): name = os.path.basename(file) - path = source checksum = md5sum(file) checksuminfo = TreepkgChecksumInfo(checksum, "md5") - pkginfo = TreepkgPackageInfo(name, path, type) + pkginfo = TreepkgPackageInfo(name, file, type) pkginfo.add_checksum(checksuminfo) platform.add_package(pkginfo)