Mercurial > treepkg
diff bin/publishdebianpackages.py @ 505:b7aad4cb58bb
don't remove packages if a track is deactivated
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 05 Nov 2010 10:52:06 +0000 |
parents | eacfd3744d16 |
children | bccd69dedbe5 |
line wrap: on
line diff
--- a/bin/publishdebianpackages.py Mon Oct 25 14:30:08 2010 +0000 +++ b/bin/publishdebianpackages.py Fri Nov 05 10:52:06 2010 +0000 @@ -122,8 +122,7 @@ scp_flags=scp_flags, cachedir=destdir)) def remove_old_packages(cachedb, newpackages, quiet): - newfiles = [package.filename for package in newpackages] - oldpackages = cachedb.get_old_packages(newfiles) + oldpackages = cachedb.get_old_packages(newpackages) for package in oldpackages: # better check if the file really exists if os.path.isfile(package.filename):