# HG changeset patch # User Bjoern Ricks # Date 1278685157 0 # Node ID 343af65e808b6c8244e29b7ca5c12afc3112ca1d # Parent 0ba451c4a8563777a330de429717512c928728c4 Bugfix: source was not defined diff -r 0ba451c4a856 -r 343af65e808b treepkg/info/status.py --- 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)